Hello and welcome to S Series Not that Hard . I'm your host , ed Dawson , the founder of QWidthPeopleUsecom , the solution to finding the questions people ask online . In today's episode , I'm going to talk about 301 redirects and some tips on when to use them . What is a 301 redirect ?
Well , it's a status code that's sent by a web server to a browser that says the URL you're asking for isn't here anymore . It's been permanently moved to this new URL . It's a bit like when you move house and you tell the postal service to send all your mail to your new address .
With a 301 redirect , the browser will take the new URL that's been given and go and fetch and display that . Search engines also use 301 redirects to pass ranking signals that the old page had to the new page , things like history , backlinks and such .
This is really important , as these are signals that may have taken years to build up and in many cases , you don't want to see them lost .
Now I'm not going to go into exactly how to implement the 301 redirect , as it can vary depending on what platform or web server you're using , but if you Google what software you're using to your website and how to do a 301 redirect , you'll find loads of guides for each combination you could be using .
So that's where to go if you need to learn how to actually physically do them . But the more important thing is to know what the crucial scenarios are that you'll be wanting to use 301 redirects for OK . So the first scenario is if you are wanting to remove some old pages from your site .
Every now and again it's quite common that you might decide you've got some content you don't want on the site anymore and you're just going to delete it .
Now you could just delete it , but then if that page that you're removing has got any backlinks from an external site and you've got any other internal links that are pointing there , those links are going to become dead links and you don't want to lose the power of those links . You don't want to lose any equity in those links .
So if you put a 301 redirect from the page that you've removed to the next most suitable page Now , an example would be if you've got a product in an e-commerce store that you no longer stock and you know you've no value in keeping it on the site anymore , then you would 301 redirect that product's page to the category page that that product belongs to .
That would be the next most sensible place to redirect that to . Other times it might be that your homepage might be the most sensible page to redirect to , but you basically just got to look and find the page that most suits what that topic was about to redirect to , and quite often it's just the parent topic .
By doing this redirect , it will mean that no one ever visiting that URL will go to a 404 page , sort of an error page that was sent to the most the next most sensible page to go to , and it also means that Google will be able to pass any sort of incorrect history onto the page that you 301 redirected to .
The second scenario where you'd want to use a 301 redirect is if you are not deleting a page but actually just moving it to another part on your website . So , for example , you just want to change its actual URL .
Now we did this on RoboNet Code at UK because when we introduced topical clusters on RoboNet Code at UK about 10 years ago , we got lots of pages that were on URLs that didn't match the new URL structure we're putting in for those topical clusters .
So we used 301 redirects to move the pages within the URL hierarchy so that our URL structure was a lot cleaner and a lot more semantically fresh to each other .
So that's another reason for if you're moving content around within a site , it's not something I would suggest you do lightly , because with 301 redirects there is sometimes a bit of a lag between the signals to pass over . In our case we didn't really spot many problems with that on RoboNet Code at UK , but it's just something to watch for .
But yeah , that's where if you're moving and rearranging your content into sort of more logical silos and clusters , you might want to use a 301 redirect to change the actual URL on site of a piece of content .
The third scenario where you'd want to use a 301 redirect is where you may have your site available on wwwdomainnamecom and just domainnamecom , and that's quite common people . When they're doing the setups they don't set it up in a way where one redirects to the other . It's really important to just have one canonical version , so it doesn't matter which it is .
You can choose a www version or just the plain domain name version , but make sure you've got a 301 redirect in place . So if anyone goes to the one that isn't the canonical version , it will forward them through . So if they type in domainnamecom , it will 301 redirect them to the www version .
Or if you just want to have the plain domain name without a www version , if they type in wwwdomainname , it will 301 redirect them . And those kind of 301 redirects can be made with wildcards so that any URL that they've got past the domain name will also 301 redirect .
So it could just catch all , so that anyone going to the www version or the non-wobb version gets redirected in the right way that you want them to . The fourth scenario I want to cover today is the one where you transfer and migrate all your content from one domain name to another .
So say , for example , you decide to rebrand your company or your website and you get a whole brand new domain and you're going to move all your content across to that new domain .
It's really , really important to put in a 301 redirect from all the URLs from the old domain to the URLs on the new domain , so that Google knows that , oh yeah , you've literally just changed from one domain to another , and to pass over all the domain history or the link history or all the equity that's been built up from the old domain and the URLs to the
new domain and its URLs . If you don't do this 301 , then as far as Google's concerned , it's a brand new website . It's got no backlinks , no history , it doesn't know anything about it and you're just going to destroy your rankings .
It's the most common way of people just completely get it wrong if they just move to a new domain , don't think about this , don't do a 301 and then wonder where all the traffic disappears to . So it's really really important to , if you're doing a domain migration , to use 301 redirects from the old domain to the new domain .
The question I'm commonly asked is how long should we keep 301 redirects in place for ? And I'd say , keep them in forever . The line from Google is they say that after one year , then all ranking signals signals from the old page are permanently transferred to the new page . But I personally would just keep them in forever .
I say this because when we had broadband at Kodiq UK , I used to look at the server logs and we had links that went back . Well , I mean , they went back before 1996 because it was a very old domain and there was some links external links that were to pages that hadn't existed for many , many years .
These were pages from when the website was a web agency before broadband became a thing . If you want to know more about that , go and listen to the third episode I did about the story of broadband at Kodiq UK . But there was links to pages for when it was a web agency and those links still existed online on external sites and Google would still crawl them .
We'd see Googlebot in the logs crawling and following these old links even though they were 25 plus years old in some cases . We still wanted to keep that link equity and so that's why we kept the 301s in . So hopefully that's given you an overview of what a 301 redirect is when you'd want to use them , why they're important .
And I say , if you want to learn how to actually implement them , I'd go and Google for your specific platform , website and web server and how to do it , and you'll find loads of great guides out there on how to actually implement them in real . Thanks for listening . I really appreciate it . Please subscribe and share . It really helps . Seo is not that hard .
It's brought to you by KiwisPeopleUsecom . These solutions find the questions people ask online . See why thousands of people use us every day . Try it today for free at KiwisPeopleUsecom If you want to get in touch . Have any questions , I'd love to hear from you . I might at channel 5 , on Twitter , or you can email me at podcast at KiwisPeopleUsecom .
Bye for now and see you in the next episode of SEO . Is not that hard .
