Wordpress Multisite- How to restrict a non-wordpress page only to one domain
Posted
by
yibe
on Pro Webmasters
See other posts from Pro Webmasters
or by yibe
Published on 2013-02-12T17:38:13Z
Indexed on
2013/11/06
16:15 UTC
Read the original article
Hit count: 574
I am running three blogs from a wordpress multisite. Currently, I am developing a separate, non wordpress application. I want to link this application with blog1. I put the application in the subfoler of my root directory (The Wordpress multisite is installed in the root). I linked the application in the menu of blog1. So far so good.
But, it is possible to access the application from all the three blogs. I want the application to be accessible only from blog1-domain/my-app/ but when I tried blog2-domain/my-app, it just opened normally. Generally, the application is accessible from all the three domains followed by /my-app.
I don't think it is proper to go this way. Then, what can I do to restrict my app to be accessible only from a my blog1-domain/my-app ? Or am I not using a good blog structure?. I am open to all kind of suggestions.
Thank you for your help.
© Pro Webmasters or respective owner