How do I add a 301 redirect to my website?

How do I add a 301 redirect to my website?

Here’s how to set up a 301 redirect:

  1. Open up a text editor such as “Notepad”.
  2. Copy the following line of code into your text editor, replacing http://www.example.com/ with the URL you wish to forward your domain name to. Redirect 301 / http://www.example.com/
  3. Save the file as .
  4. Upload the file to your web space.

What is a website 301 redirect?

A 301 redirect is a permanent redirect that passes full link equity (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.

How to properly 301 redirect a website domain?

Again, if the domain is not an exact match to the new destination website, a whole site 301 redirect will not work. In this case, 301 redirects should be employed page by page (section by section). Pages that relate can be redirected to their proper counterparts.

What happens if a 301 redirect does not work?

If the new page doesn’t exist on the new site, you will get 404 errors. So, be careful with this common redirect. Again, if the domain is not an exact match to the new destination website, a whole site 301 redirect will not work. In this case, 301 redirects should be employed page by page (section by section).

Is there a way to redirect a page to the homepage?

Pages that relate can be redirected to their proper counterparts. Any pages that have no homes can simply be redirected to the homepage. A) Take a sampling of URLs from the old site (representing groups of redirects) and check to make sure they all resolve as proper 301 redirects.

How to create a 301 redirect map for SEO?

Click on the arrow for the column you want to filter, select “Text Filters” and “Contains,” and then enter a word or phrase. In the example below we’re filtering the column “Current Site/OLD URL” for URLs containing the word “contact.” This sample 301 redirect map filters URLs by common keywords.