Restructuring/Removing 301 Redirects Due To Newly Optimized Keywords
-
Just to be clear, this is for one unique page on a website. Also, please see my diagram attached.
Let's say that a page's URL was originally /original. So, you optimize the page for a new keyword (keyword 1), and therefore change the URL to /keyword-1. A 301 redirect would then be placed...
- /original > /keyword-1
However, let's say 6 months down the road you realize that the keyword you optimized the page for (keyword 1) just isn't working. You research for a new keyword, and come up with (keyword 2). So, you'd like to rename the page's URL to /keyword-2.
After placing a redirect from the current page (keyword 1) to the 'now' new page (keyword 2), it would look like this...
- /original > /keyword-1 > /keyword-2
We know that making a server go through more than one redirect slows the server load time, and even more 'link-juice' is lost in translation.
Because of this, would it make sense to remove the original redirect and instead place redirects like this?
- /original > /keyword-2
- /keyword-1 > /keyword-2
To me, this would make the most sense for preserving SEO. However, I've read that removing 301 redirects can cause user issues due to browsers caching the now 'removed' redirect. Even if this is ideal for SEO, could it be more work than it's worth?
Does anyone have any experience/input on this? If so, I greatly appreciate your time!
-
Hi Corey,
I appreciate the you taking the time to read through our questions and provide some insight. Thanks for all of your help!
P.S. we're also from Chicago. So if I see you out and about, remind me that I owe you a brew.
Thanks,
Drew and the rest of the Logical Media Group team
-
Sure, the chaining redirects thing is something that Matt Cutts has talked about, I think in a few videos. I'm blessed with the ability to actually test/observe this stuff on loads of major sites that are in production as well, which is always the ultimate bit of validation on an SEO theory. Every now and again even Google will give advice that is flat out wrong, and for the most part, the SEO community will repeat it again and again as it's lore.
As for extracting headers, I have some back-end automation that I've written. Here's a nice little free tool that lets you see a single page though:
http://www.northcutt.com/tools/free-seo-tools/http-header-viewer/
If you have a chain of redirects occurring on a page, it will show. Sometimes this is necessary, especially if you have them flying in from all over (ie. in the application, in your .htaccess, in the Apache config files). It always helps to test; I've surprised a few clients with this one.
-
Hi Corey,
Thanks for taking the time to read through this and provide a response!
I'm happy to hear that you think the latter is indeed a better method. You say that chaining redirects causes other issues as well. Do you mind elaborating on this? I just watched a Matt Cutts video and he does confirm that you should avoid chaining too many redirects because Googlebot could actually stop following them at some point (sounds like around 4 or 5).
It's also interesting to hear that you mine for this situation during your auditing process. Do you do this by looking through the .htaccess file or is there a tool you use?
Thanks again for taking the time to help us out with this! Any additional feedback is greatly appreciated!
Thanks,
The Logical Media Group Team
-
Well, first of all, you can't use a keyword as your TLD.
I think I see what you're getting at though. No, don't ever chain redirects; part of my auditing process in fact involves mining for that exact thing, because it causes other issues. Instead of:
/originalUrl.php -> /secondTry.php -> /thirdTry.php
Do:
/originalUrl.php -> /thirdTry.php
/secondTry.php -> /thirdTry.phpI'd also add, at least half of the SEO blogs that I've read over the years are provably wrong in one way or another. But I think I see what that person was getting at too. 301 redirects do sometimes get cached, because a 301 redirect is supposed to be a permanent redirect (unlike a 302 redirect). That doesn't mean that you can't change it though.
In the scenario that they described, they said that they would not just remove the redirect and expect everything to return to normal. It was a 'permanent' redirect. It needs to be 'permanently' directed back to definitely be undone where actually possible.
Good luck.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Mass 301 redirect in htaccess
I use ScreamingFrog to generate sitemaps for my Magento 2 multistore, but I recently noticed two issues. Each category/page has two URLs. One with / and the end and one without. Every product has two URLs. One with /product-name and the other /shop/product-name. The URLs are canonicalised, but this is still a problem and I'm not sure exactly how to execute this in the htaccess file. So I need to: Remove all URLs without the / at the end and redirect them all to the URL with / at the end. Or vice versa. 301 redirect every single product (there are over 400) from shop/product-name to /product-name. How do I do this en mass in the htaccess file?
Intermediate & Advanced SEO | | moon-boots0 -
After 301 redirect
hello i do after 301 redirect from old domain to new since 3 month ago my qa : should i replace the backlinks links to new doamin Or the he backlinks in the old link will works
Intermediate & Advanced SEO | | cristophare790 -
How to handle potentially thousands (50k+) of 301 redirects following a major site replacement
We are looking for the very best way of handling potentially thousands (50k+) of 301 redirects following
Intermediate & Advanced SEO | | GeezerG
a major site replacement and I mean total replacement. Things you should know
Existing domain has 17 years history with Google but rankings have suffered over the past year and yes we know why. (and the bitch is we paid a good sized SEO company for that ineffective and destructive work)
The URL structure of the new site is completely different and SEO friendly URL's rule. This means that there will be many thousands of historical URL's (mainly dynamic ones) that will attract 404 errors as they will not exist anymore. Most are product profile pages and the God Google has indexed them all. There are also many links to them out there.
The new site is fully SEO optimised and is passing all tests so far - however there is a way to go yet. So here are my thoughts on the possible ways of meeting our need,
1: Create 301 redirects for each an every page in the .htaccess file that would be one huge .htaccess file 50,000 lines plus - I am worried about effect on site speed.
2: Create 301 redirects for each and every unused folder, and wildcard the file names, this would be a single redirect for each file in each folder to a single redirect page
so the 404 issue is overcome but the user doesn't open the precise page they are after.
3: Write some code to create a hard copy 301 index.php file for each and every folder that is to be replaced.
4: Write code to create a hard copy 301 .php file for each and every page that is to be replaced.
5: We could just let the pages all die and list them with Google to advise of their death.
6: We could have the redirect managed by a database rather than .htaccess or single redirect files. Probably the most challenging thing will be to load the data in the first place, but I assume this could be done programatically - especially if the new URL can be inferred from the old. Many be I am missing another, simpler approach - please discuss0 -
Client would like to 301 redirect the homepage to a category page
Hello MOZ Community!!! I would like your expert opinions on a scenario, please! My client is an ecommerce company, and currently has one of its category pages outranking its homepage for a few key phrases. The homepage, however, has a better conversion rate. So, the client is asking that we make the homepage the category URL, so http://www.theirsite.com/blue-clothes. The existing homepage URL - http://www.theirsite.com - would 301 REDIRECT to the category page - which would render the current version of the homepage. Therefore, there would be nothing, ZERO content, on the MAIN URL: http://www.theirsite.com Has anyone ever done this before? What are the pros and the cons of this practice? Here is my same client, for reference: https://moz.com/community/q/issue-with-category-ranking-on-page-1-vs-homepage-ranking-on-page-2
Intermediate & Advanced SEO | | accpar0 -
.htaccess 301 Redirect Help! Specific Redirects and Blanket Rule
Hi there, I have the following domains: OLD DOMAIN: domain1.co.uk NEW DOMAIN: domain2.co.uk I need to create a .htaccess file that 301 redirects specific, individual pages on domain1.co.uk to domain2.co.uk I've searched for hours to try and find a solution, but I can't find anything that will do what I need. The pages on domain1.co.uk are all kinds of filenames and extensions, but they will be redirected to a Wordpress website that has a clean folder structure. Some example URL's to be redirected from the old website: http://www.domain1.co.uk/charitypage.php?charity=357 http://www.domain1.co.uk/adopt.php http://www.domain1.co.uk/register/?type=2 These will need to be redirected to the following URL types on the new domain: http://www.domain2.co.uk/charities/ http://www.domain2.co.uk/adopt/ http://www.domain2.co.uk/register/ I would also like a blanket/catch-all redirect from anything else on www.domain1.co.uk to the homepage of www.domain2.co.uk if there isn't a specific individual redirect in place. I'm literally tearing my hair out with this, so any help would be greatly appreciated! Thanks
Intermediate & Advanced SEO | | Townpages0 -
301 Redirect To Another 301 Redirect
Hi, We have a client with an old domain that they want to redirect to their primary domain. They also have a few older domains pointing to the old domain. Do you recommend leaving them as redirects that point to the old domain? This will create a redirect to a redirect situation. Or, is it better to go ahead and redirect those older domains to the primary one's, removing one layer of redirect? Thank you! Jessie
Intermediate & Advanced SEO | | JessieT0 -
301 doesn't redirect a page that ends in %20, and others being appended with ?q=
I have a product page that ends /product-name**%20** that I'm trying to redirect in this way: Redirect 301 /products/product-name%20 http://www.site.com/products/product-name And it doesn't redirect at all. The others, those with %20, are being redirected to a url hybrid of old and new: http://www.site.com/products/product-name**?q=old-url** I'm using Drupal CMS, and it may be creating rules that counter my entries.
Intermediate & Advanced SEO | | Brocberry0 -
301 Redirect using rewrite rule in .htaccess
Hi guys, I have these types of URLs with the format below that are seen as duplicate contents http://www.mysite.com/index.php?a=11&b=15&d=3&c=1 I wanted to permanently redirect them to my homepage. I am thinking if this is possible in .htaccess using rewrite conditions? Thanks in advance...
Intermediate & Advanced SEO | | Trigun0