jdmsai Posted June 3, 2008 Posted June 3, 2008 Hi guys, I used to run my website on www.mobile604.com/index.html. Now that my osc site is up and running, i want it to go to www.mobile604.com/index.php. However, when I google 'Mobile604', it still links people to www.mobile604.com/index.html instead of index.php. How do I fix this or tell google to get rid of all my old links? TIA -Simon
♥FWR Media Posted June 3, 2008 Posted June 3, 2008 Hi guys, I used to run my website on www.mobile604.com/index.html. Now that my osc site is up and running, i want it to go to www.mobile604.com/index.php. However, when I google 'Mobile604', it still links people to www.mobile604.com/index.html instead of index.php. How do I fix this or tell google to get rid of all my old links? TIA -Simon Something simple in .htaccess like the following will probably do it .. RewriteEngine on RewriteRule index\.html index.php [NC,R] Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
jdmsai Posted June 3, 2008 Author Posted June 3, 2008 thanks that worked well =) but I was doing some research myself on google as well.. how do I make it so that it send a 301 permanent direct to google using this rewrites?
♥FWR Media Posted June 3, 2008 Posted June 3, 2008 thanks that worked well =) but I was doing some research myself on google as well.. how do I make it so that it send a 301 permanent direct to google using this rewrites? RewriteEngine on RewriteRule index\.html index.php [NC,R=301] Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
jdmsai Posted June 4, 2008 Author Posted June 4, 2008 ^Thanks a lot. Everything is working out now. Your help is much appreciated. -Simon
Recommended Posts
Archived
This topic is now archived and is closed to further replies.