PDA

View Full Version : 301 old url to new url's


Banana_man
02-18-2008, 11:15 AM
Hi,

I run a forum that is displayed exactly the same over two url's. one's a .ie and the other a .co.uk . I want to ditch the .ie version and just use the .co.uk but i want to setup 301 redirects on all the .ie url's to the corresponding .co.uk url's.

Anyone have a script that will do this?

Thanks

Yogesh Sarkar
02-18-2008, 11:27 AM
Just do a 301 redirect from your domain control panel and it would accomplish that. This can be done through Godaddy.

Opserty
02-18-2008, 11:28 AM
or google ".htaccess redirect"

Banana_man
02-18-2008, 11:39 AM
or google ".htaccess redirect"

I know how to do a .htaccess redirect. What im asking for is a script that will redirect each individual irl to the new corresponding url i.e. when google thors up a result for a post on my forum from the .ie site i want it to be directed to that exact post on the .co.uk site.

I want to keep the .ie homepage as it is (this is not part of the forum just my website homepage) so a total domain redirect would not work anyway.