FrostyFred Posted May 29, 2010 Posted May 29, 2010 I have a store installed in the /catalog directory with a splash page called index.html in the root. From that page I have a link to www.mysite.com/catalog/index.php. Pretty standard so far, but I want www.mysite.com to go to www.mysite.com/catalog/index.php but to show as www.mysite.com in the address bar. How can I achieve this without just copying the entire site to root and editing the configure files and can I do anything to keep my old links from google still working? TIA
♥mdtaylorlrim Posted May 29, 2010 Posted May 29, 2010 I have a store installed in the /catalog directory with a splash page called index.html in the root. From that page I have a link to www.mysite.com/catalog/index.php. Pretty standard so far, but I want www.mysite.com to go to www.mysite.com/catalog/index.php but to show as www.mysite.com in the address bar. How can I achieve this without just copying the entire site to root and editing the configure files and can I do anything to keep my old links from google still working? TIA You can ask your host to point your domain to your catalog directory. Then you will have to change your configure files and put a rewrite in your root to eliminate the 'catalog' from the url until the dns propagates. I would bite the bullet and use the Google Webmaster tools and do an address change for your shop. There are methods to redirect, rewrite, etc. and you will likely get differing opinions on the best way to go. Just choose one and run with it. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
FrostyFred Posted May 29, 2010 Author Posted May 29, 2010 I had a word with my host and they suggested moving the entire site to root. Not something I want to do. They directed me to mod rewrite and I am currently reading like mad to see how to do this. Have got this far RewriteEngine on RewriteBase / What are the rewrite rules to do this? to eliminate the 'catalog' from the url
Recommended Posts
Archived
This topic is now archived and is closed to further replies.