Can anyone give me advice on how to do a proper 301 for a relevant site? I'm a newbie, and I don't have a clue...thanks
Yeah, google penalized my site so I need to do a 301, but how do you do one per page and link each one to another url?
here is the syntax Suppose you want to redirect http://www.example.com/old.php to http://www.example.com/new.php then redirect 301 /old.php http://www.example.com/new.php here old link should be not contain domain name as in the example above. but new url should contain the complete url
301 Redirect 301 redirect is the most efficient and Search Engine Friendly method for webpage redirection. It's not that hard to implement and it should preserve your search engine rankings for that particular page. If you have to change file names or move pages around, it's the safest option. The code "301" is interpreted as "moved permanently". You can Test your redirection with Search Engine Friendly Redirect Checker Below are a Couple of methods to implement URL Redirection IIS Redirect In internet services manager, right click on the file or folder you wish to redirect Select the radio titled "a redirection to a URL". Enter the redirection page Check "The exact url entered above" and the "A permanent redirection for this resource" Click on 'Apply' ColdFusion Redirect <.cfheader statuscode="301" statustext="Moved permanently"> <.cfheader name="Location" value="http://www.new-url.com"> PHP Redirect <? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.new-url.com" ); ?>
First you need to decide whether you need a permanent redirection or temporary redirection. According to that, you proceed.
Wow, thanks for all the information...I'll definitely test that out! The site didn't get penalized for bad seo practices or techniques, but for simply being an seo company and ranking too high, for too many terms
you can also go with this... Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^yourwebsite.com [NC] RewriteRule ^(.*)$ http://www.yourwebsite.com/$1 [L,R=301] RewriteRule ^(.*)index.html$ http://www.yourwebsite.com/$1 [L,R=301] Redirect 301 /oldapage.html http://www.yourwebsite.com/new.html hope it helps you..!