301 redirects

A 301 redirect is a permanent redirect which passes between 90-99% of link juice (ranking power) to the redirected page. 301 refers to the HTTP status code for this type of redirect. In most instances, the 301 redirect is the best method for implementing redirects on a website.The 301 redirect response notifies the search engines that the page has moved permanently from the old URL to the new URL.

Using your favourite FTP software, download the file named .htaccess and add the following depending on your requirements:

Single Page URL redirect

Permanent redirect from old-page.html to new-page.html.

Redirect 301 /old-page.html http://www.mydomain.com/new-page.html

 

Directory URL redirect and all of its contents to another

Permanent redirect from olddirectory to newdirectory.

RedirectMatch 301 ^/olddirectory/ http://www.mydomain.com/newdirectory/

 

Domain name URL to another

Permanent redirect from olddomain to mynewdomain.

RedirectMatch 301 ^(.*)$ http://www.mynewdomain.com

Comments

0 comment(s)


Menu