Hello all, I have an amazon store located at www.mydomain.com/shop.php Now if i forward my domain www.mydomain.com to it it doent work. So i have setup an index.php file that redirects to the above shop. All works fine except lots of site tools refuse to work like back link checkers etc, now as Im guessing they cant follow the redirect, Im also worried google will not favour this method. Thanks, Dave.
The best idea would be to change your httpd.conf change the line DirectoryIndex index.php to DirectoryIndex shop.php should work, good luck
Because all the code points to shop.php so if I change the name of the file then links to 'home' no longer work. Amazon encrypt the files so they also cannot be edited inside. I did fix this myself, i added a file called index.php which is a clone of shop.php, shop.php must also be left on your server. This way index.php sorts the redirect issue and when clicking home buttons that link to shop.php the file still exists so all works fine. Dave
Hmm, that shouldn't be necessary. Show us the rule(s) you used to make the redirect. Did you use a 301 code?