How to Properly 301 Redirect a Page – SEO Best Practices

How to Properly 301 Redirect a Page - SEO Best Practices

Spring cleaning is definitely not on my favorite things-to-do list. I will put it off as long as I can as I am a keeper. My husband, on the other hand, is a thrower. His spring-cleaning philosophy is that if he hasn’t worn something in a year, out it goes.

Using a similar concept with old web pages that are outdated or no longer offer value, evaluating them, and deciding how to remove them from your website and the search engines should be carefully thought through.

What are the SEO best practices for eliminating old web pages?

What Google Says About Low-Quality Content

In the article, Low-Quality Content: What it is and How to Fix it, we covered the reasons why it is important to remove low-quality content from our websites. Specifically, Google’s goal with the Panda algorithm rollout was to “help people find “high-quality” sites by reducing the rankings of low-quality content.” When Google makes it clear what the search engine giant is looking for, we need to stop, listen, and take action.

301 Redirect, 404 or 410?

What is the best way of dealing with low-quality pages or those that no longer offer value? Let’s take a closer look at the definitions of  the 301 redirect, 404, and 410 status codes and what they do.

  • 301 Redirect: A 301 redirect is a permanent redirect from one page (URL) to another page (URL). It tells search engines that the page has a new permanent address similar to filling out a form for the post office when you move from one address to another.
  • 404 Status Code – Not Found: To remove a web page that no longer offers value would result in an HTTP 404 – File not found. The 404 status tells the visitor that the page no longer exists with a “not found” message. According to, the 404 not found gives “No indication is given of whether the condition is temporary or permanent.”
  • 410 Status Code – Gone: The 410 status indicates that the requested page is “no longer available and there is no forwarding address. According to Eric Enge, CEO of Stone Temple Consulting, in a great discussion on MaAnna Stephenson’s post, 410 or 301 redirect for pages that no longer exist,

    “410 is the best way for content that you want to truly disassociate yourself from. Far better than a 404 too, as it’s a more conclusive way of saying the page is gone and not coming back.”

When you go through your closet during spring cleaning, you probably make three decisions: to keep, to throw away, or to donate. In the same manner, when evaluating your website’s content for “spring cleaning,” you would need to make three decisions:

  1. To keep the web page.
  2. To redirect it to another web page with updated information.
  3. Or to permanently delete it.

SEO Best Practices

In this article, we are concentrating on 301 permanent redirects. If you decide to implement a 301 on a page for both SEO best practices and users, it is important to create a 301 redirect correctly on the old web page to a new, more useful page.

Matt Cutts, former Google Distinguished Engineer and head of Google’s Webspam team, states in Google’s Webmaster Tools on 301 redirects:

If you need to change the URL of a page as it is shown in search engine results, we recommended that you use a server-side 301 redirect. This is the best way to ensure that users and search engines are directed to the correct page. The 301 status code means that a page has permanently moved to a new location.

301 Redirect Examples

The proper 301 redirect that needs to be created depends on the type of web server your website is hosted on. The following are examples of how to properly implement the redirects in certain situations.

Apache Web Server – The .htaccess 301 Redirect

Apache web servers let you use the .htacess file to redirect the old URL to the new one. For a single page redirect, include the following in the .htaccess file:

Redirect 301 /oldurl /newurl

PHP 301 Redirect – Single Page Redirect

If you need to direct a single PHP page to a different PHP page, place the following at the top of the source code of the page you are redirecting.

header(‘HTTP/1.1 301 Moved Permanently’);

ASP 301 Redirect

For a single ASP (Active Server Page), include the following at the top of the old page that you are redirecting:

Response.Status="301 Moved Permanently"

ColdFusion 301 Redirect

<cfheader statuscode="301" statustext="Moved permanently">
<cfheader name="Location" value="">

How to Verify that the 301 Redirect is Working

It is critical that you check to be sure that the 301 Redirect is working properly. To do this, use an HTTP Header Checker Tool like the one provided by SEOBook’s HTTP Status Code Checker at When you type in the old URL into the tool, it should show you that it has been properly 301 redirected with: HTTP/1.1 301 Moved Permanently.

HTTP Header Checker

SEO Benefits of 301 Redirect

Not only does a 301 redirect help the user experience, but it will also help your SEO efforts with Google PageRank, Google’s system for ranking web pages. Matt Cutts explained in the video, What percentage of PageRank is lost through a 301 redirect?, that a 301 redirect is exactly like having a link. Matt stated:

“The amount of PageRank that dissipates through a 301 is currently identical to the amount of PageRank that dissipates through a link.”

Seattle, Washington based MOZ, explains that it is not only common practice to redirect one URL to another, but it is critical to use best practices to maintain SEO value. In their article on Redirection SEO Best Practices, they state:

“A 301 Redirect is a permanent redirect which passes between 90-99% of link juice (ranking power) to the redirected page.”


While spring is a great time to clean out your closet, it is also a great time to evaluate old, outdated web pages. By correctly implementing 301 redirects that direct old pages to new ones, you will be following best SEO practices as well as offering your viewers the best overall experience when visiting your website.

Your Turn

How about it? Are you ready for some spring cleaning? Have you used 301 redirects on some of the pages on your website? I would love to hear your thoughts.

Fascinated with the growing potential and power of the Internet, Robin founded R & R Web Design LLC in the Chicago area in 2000. As creative director, she is passionate about helping others reach their Internet objectives through a strategic online presence with results driven custom web design, ethical SEO, and social media marketing.

12 comments on “How to Properly 301 Redirect a Page – SEO Best Practices
  1. This blog post is chocked full of incredibly valuable advice. I think I need to share it again. THANKS!!!

  2. Norma Doiron says:

    This is great information Robin. It can be so confusing to which type of redirect to use and you truly simplified it. Thanks a bunch!

  3. Great examples and information, thanks Robin!

  4. Veronica says:

    Thanks for explaining this so well, Robin. I’m looking forward to learning how to do the 410 🙂

    • You are so welcome, Veronica. The 410 is not difficult, but it involves editing the .htaccess file on your website. You would simply put this in the .htaccess file:

      Redirect 410 /thePageYouWantGone

      I’m still in favor of using 301’s wherever possible.

  5. Michelle Phillips says:

    Robin, thank you for such a helpful post. I love that you took time to detail how to do this technically as well as using the Yoast plugin. I did not realize until just recently that Yoast had an advanced setting for 301 Redirects!

    I am like your husband (a thrower) but when it comes to my blog I hang onto the old posts as if my life depended on them. And I’ve slowly but surely been going through and doing the spring cleaning the blog so desperately needs and setting up 301 Redirects where necessary. The harder part is deleting the thin content posts and seeing the 404 errors in Webmaster Tools.

    Anyway, thanks once again for sharing your insights on this very important topic!

    • Hi Michelle, I’m so glad that your comment finally came through! This is a subject that comes up quite often when dealing with older websites – and I have had to deal with them on our older posts here at R & R Web Design LLC. I do the same with old posts! Yes, the hardest part is deleting the outdated posts and seeing the 404s in Google Webmaster Tools.

      Thank you for taking the time to not only comment, but to share your experience as well!

  6. Norma Doiron says:

    A lot of good information here Robin. Thanks a bunch, will keep for reference These redirects are so confusing sometimes!