Need a 301 redirect created
I just rebuilt my site and need to 301 redirect the old urls example
Old url http://www.boatboss.com/?search=Rang...=-999&view=ads
Redirect to new url http://www.boatboss.com/maker/ranger/
I cant get it to work from cpanel as the old url is dynamic. There are 170 of this type url but the names all match
How much to do this for me
Since the answer was not posted, i will post it for lurker's sake:
It must be executed before anything that outputs text, like echo, otherwise it will not work.
But after a long wait of answer from other member he/she got the answer before anybody post the solution here. By the way good answer but a bit late.
Originally Posted by BasictoPHP
Try this code
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.new-url.com" );
Thank you for this answer...I am looking for this only...
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread