I have a lot (100+) of 301 redirects to do for .html pages, is the .htaccess the only way to go?
Thanks
Welcome to the Q&A Forum
Browse the forum for helpful insights and fresh discussions about all things SEO.
I have a lot (100+) of 301 redirects to do for .html pages, is the .htaccess the only way to go?
Thanks
For php pages youve got
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.example.com" );
?>
Is there anything for html pages? Other then
Or is placing this code redirect 301 /old/old.htm http://www.you.com/new.php in the .htaccess the only way to properly 301 redirect html pages?
Thanks!