Forum Moderators: coopster
i have a php site and another on the same server -
our goal is to restrict acess to site #1 unless the request is coming from site #2
my public access to this site is at url: mysite.com/webShop/
my actual files are at url: dothework.com/webShop/
we want to redirect anybody attempting to access dothework.com/webShop/ to the home page mysite.com/webShop/
the sites are on the same server -
maybe some sort of refer check / redirect can be added to the header file???
many thanks for any ideas!
erv
A safer route would be to use an .htaccess redirect: