Check my last reference from co-creating the website for Conan the Barbarian
LET'S SEE

Http 301 – explanation of the status code

Vojtěch Bruk
Author Position
28/09/2023

The code 301 says that the page has moved to a new address. Therefore, the crawler will treat all existing links as if they should be redirected to the new address. In other words, it does not assume that the page should reappear at that address in the future. The browser automatically redirects visitors to…

The code 301 says that the page has moved to a new address. Therefore, the crawler will treat all existing links as if they should be redirected to the new address.

In other words, it does not assume that the page should reappear at that address in the future.

The browser automatically redirects visitors to the new address, so they don’t even notice the redirect.

Technical Definition

On English Wikipedia you can read that:

The HTTP 301 Moved Permanently response status code is used for permanent redirects, which means that links or records returning this response should be updated. The new URL should be specified in the Location field included in the response. The 301 redirect is considered a best practice when transitioning users from HTTP to HTTPS.

You will also find other technical details and specifics that may be of interest to you regarding 301.

Using the 301 code in practice

A 301 redirect refers to permanently moving a web page from one location to another.

If, for example, I had a blog at

-> vojtechbruk.cz/clanky so I could use the 301 code to move it to vojtechbruk.cz/blog -> which I did, so if you go to the first address mentioned, you’ll see that you’ll be automatically redirected.

The 301 code is also the recommended way to redirect from HTTP to HTTPS (secure protocol).

How to perform a 301 redirect?

There are many ways. The most common method is probably to edit the .htaccess file, which you can find in the root folder of the site.

If you use WordPress, however, you can, like me, use the Rank Math SEO plugin to redirect, for example, where you basically primitively click the redirect:

801

How to solve the 301 redirect problems?

If you run into any problems with 301 redirects, you can follow the article on Ahrefs, which says that the following is important:

  1. Make sure the HTTP version of your site is redirected to HTTPS
  2. Remove pages with 301 status codes from the sitemap
  3. Edit redirect strings
  4. Edit redirect loops and much more…

In the article mentioned above you will find the complete instructions. However, if you’re not the technical type and you’re solving a 301 problem, you’re probably best off contacting an expert.

How do I find out HTTP status codes?

Codes can be found using various tools such as Collabim or Ahrefs Webmaster tool, which is free.

And due to the financial frugality, I would definitely recommend monitoring the status codes on your site regularly and intervening where necessary to fix it.

Other errata you may encounter

Error message Error 404.

Success message http 200.

Redirect http 302.

Code http 500.

Code http 503.

About author

Vojtech Bruk

I enjoy exploring things in depth. That's why I write this blog. And I also try to make my clients as much money as possible), that's the second reason.

Monthly Newsletter

Join the other 378 people interested in taking their websites to the next level!

Newsletter
Your information is protected by us. Read our privacy policy

Comments

Leave the first comment

Similar articles

Email Marketing – The Definitive Guide

Email marketing is, in my opinion, one of the most effective methods of promotion ever. In this article we will introduce it in more detail. We'll look at the tools you can run it through and we'll also look at specific tips you can use in this area, whether you're a freelancer, small business, or…

28/05/2024
Vojtěch Bruk

How do you create a writer’s routine? 3 unique tips

A lot of people ask me: do you write a series of articles on how to create the best writing routine? ... Well, no one asks me, I ask myself sometimes, but still, this article will be about what I would recommend. The cornerstones for me are routine, workflow and tools. Let's take a look…

24/05/2024
Vojtěch Bruk

What does a copywriter do and do you need one?

A copywriter is a person who writes texts. Do you need one? You don't. But you need good text. Sure. Good lyrics: are credible,persuasive,create the intended impression. Your website can't do without good text. Or, at the very least, it's like shooting him in the knee and asking him to run a half marathon. He's…

19/05/2024
Vojtěch Bruk