How do I recover from a double 301 mistake?
-
We have a site that was ranking top 10 for 15 KW and top 20 for about 40. We decided to restructure the site to create silos. The old site used a plugin to create ".html" pages and the juice in Google was all on those pages.
We asked our developer to eliminate the plugin / .html and forward the .html pages to our new structure.
Instead, he took a shortcut and did a mass forward in code which resulted in all pages - such as "example.com/mypage.html" now forwarding to "example.com/mypage/" - He then did a 301 redirect from those pages with the "/" such as example.com/mypage/ to "example.com/my-new-page/". He did this for over 500 pages.
To make matters worse, he mis-mapped about 100 pages and Google saw them as 404s, then in fixing those errors, new ones kept popping up. Those are now fixed.
The net result is that we dropped like a stone on all of our rankings.
Moving forward, do you think we can regain ground by manually doing 301s for the original .html pages to their new locations and eliminating the interim step?
What would be your suggestions to recover as quickly as possible?
-
Gotcha, ok well that's a relief. In troubleshooting the drop we are looking at a few more factors. Do any of these sound suspicious?
1. In redirecting everything, our developer was sloppy. There were slug conflicts all over the place and this resulted in hundreds of 404s and mis-directed pages (pages redirected to y instead of x), which he only corrected after we manually found the 404s. We went through 5 or 6 rounds of this.
2. We had over 100 pages without titles and he ran some script that rewrote a lot of existing titles. When we discovered this, he went back and fixed all the titles but only after Google reported 100+ duplicate titles.
3. We installed an internal link building plugin (that we've since deleted) and created business rules for cross linking. This resulted in hundreds of cross links with exact anchor text of the slug / page titles. As mentioned, we've since rolled this back but since the site only has about 50 external backlinks, wondering if the internal link building over-optimized and triggered a penalty. If this is something you think they'd ding us for, now that we've fixed the internal links, do you think Google will give us back some juice? Or is it gone daddy gone?
Otherwise, our pages rank 95%-98% optimized according to Moz and we have zero technical issues at this stage.
-
To be honest, it all looks correct and that would have been the way I did it. If Google is currently not ranking the correct URL, it'll likely update when they take the 301 into account when they next recrawl the page.
It might be a factor in why rankings have dropped but it's likely to pick back up again when their index is updated. My advice is to hold tight and hope it all fixes itself soon.
All the best,
Sean
-
Thanks Sean,
No, he first redirected the .html pages in code so:
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s/+([^.]+).html [NC]
RewriteRule ^ /%1/ [R=301,L]So 500+ pages were redirected from .html to /
Step 2, he made manual 301s from the / to the new structure so for instance "example.com/mypage/" redirected to "example.com/new-parent/my-new-page/"
But Google has ranked example.com/mypage.html
So the question is - would doing the above be a contributor to losing our ranks? If so, would we benefit by manually linking "example.com/mypage.html" to "example.com/new-parent/my-new-page/" and therefore skipping the interim step?
Second, you mentioned having so many redirects could be problematic. Our reason for the change was to create a hierarchy - before we started, there were 500 pages with no parent...no hiearchy at all. So we created a silo structure and a proper site map. The 500 pages now belong to this hiearchy and the slugs are all different than before. Do you have a suggestion for a better way to do the 301s other than manually in this case?
Thanks for the advice!
-
Hey there,
My advice would be to minimize those redirect chains as soon as you can, not just for potential SEO benefit but more to lessen server stress and speed up page load.
Interestingly, chained 301s don't lose equity in the eyes of a search engine now (see updates below) so it's interesting that you're seeing such a fluctuation.
https://moz.com/blog/301-redirection-rules-for-seo
For the .html to trailing slash pages, did you say that he did a page-to-page remap for all of them instead of putting a redirect rule in place to catch them all? That seems like a crazy thing to put in place! Your redirect file (htaccess or similar) must be enormous!
Hope that helps,
Sean
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
-
Wix 301 Root Domain to HTTPS
We built our website on Wix, and Moz is saying that there is a 301 redirect chain issue: http://makeshark.com redirects to...
Moz Pro | | Makeshark
http://www.makeshark.com redirects to...
https://www.makeshark.com Is there a way to configure Wix to redirect http:// (with out the "www") straight to https://www?3 -
301 Redirects
Hi, Going to be redirecting our current domain to a new domain. Can anyone verify for me that I'm doing it correctly. I want to forward the entire domain plus individual urls. My current structure is below: Options +FollowSymLinks
Moz Pro | | healthpointeseo
RewriteEngine on RedirectMatch 301 ^(.*)$ http://www.new-site.net Redirect 301 /old-page.html http://www.new-site.net/web-page0 -
404 even after Successful 301 Redirection
Hi, I've got quite few 404 error links on my site and I manually redirected all of them one by one with 301. They are redirecting successfully. But when I check my MOZ analysis, it still shows me as 404 error. I've done this about 4 days ago and MOZ crawled to my site couple times after that if it's not everyday. Do you know what the issue could be? And how can I fix it? PS: I've used Wordpress Redirection tool for it first and redirection did not work. Then I had to install the Simple 301 Redirects plugin to get it done.
Moz Pro | | nunobaronio0 -
On Link Analysis tab I my best pages are 301 and 404 pages.
I looked on my redirrect file and found that /* redirects to /v/404.asp.
Moz Pro | | sbetzen
However if you look below at the link analysis the 404 page is getting a 404 error.
The homepage ecowindchimes.com/ is getting a 301 (but I don't know where it is going to).
The third one is also redirected. 1. [No Data] ecowindchimes.com/ ||| 301 ||| 2 ||| 36 2. 2. [No Data] ecowindchimes.com/v/404.asp ||| 404 ||| 2 ||| 34 3. [No Data] 3. ecowindchimes.com/index.html?lang=en-us&target=d2.html ||| 301 ||| 1 ||| 33 So I have 2 questions: 1) should this be fixed? and 2) how? This is a volusion site and I believe the "catchall" redirect was done by them0 -
How many of my linked pages should I redirect (301's)
I'm moving my store to a new site and will have a much friendlier but completely different URL structure. I used Open Site Explorer to find inbound links to 513 pages and have done about half so far. The remaining pages have one link each at a page authority of 27 or less - but there are still 250+ of them. I have to manually view each old page, search for the product on the new site, and enter the redirect as there is no way to translate old URL's to new ones. How important is it for rankings to redirect the remaining 250 or so pages?
Moz Pro | | agirlandamac0 -
Some questions on Canonical tag AND 301 redirect
Hi everyone, I'm new here - always loved SEOMoz and glad to be part of the Pro community now. I have 2 questions regarding the Canonical URL tag. Some background info: We used to run an OsCommerce store, and recently migrated to Magento. In doing so, we right away created 301 redirects of the old category pages (OsCommerce) to the new category pages (Magento) via the Magento admin. Example: www.example.com/old-widget-category.html
Moz Pro | | yacpro13
301 redicrected to
www.example.com/new-widget-category.html In Magento admin, we have enabled the Canonical tag for all product and category pages. Here's how Magento sets up the Canonical tag: The URL of interest which we want to rank is:
www.example.com/new-widget-category.html However Magento sets up the canonical tag on this page to point to:
www.example.com/old-widget-category.html When using the SEOMoz On Page Report Card, it pick this up as an error because the Canonical tag is pointing to a different URL. However, if we dig a little deeper, we see that the URL being pointed to
www.example.com/old-widget-category.html
has a 301 redirect to
www.example.com/new-widget-category.html
which is the URL we wan to rank. So because we set up a 301 redirect of the old-page to the new-page, on the new-page the canonical tag points to the old-page. Question 1)
What are you opinions on this? Do you think this method of setting up the Canonical tag is acceptable? Second question... We use pagination for category pages, so if we have 50 products in one category, we would have 5 pages of 10 products. The URL's would be: www.example.com/new-widget-category.html (which is the SAME as ?p=1)
www.example.com/new-widget-category.html?p=1
www.example.com/new-widget-category.html?p=2
www.example.com/new-widget-category.html?p=3
www.example.com/new-widget-category.html?p=4
www.example.com/new-widget-category.html?p=5 Now ALL the URLs above have the canonical tag set as:
<link rel="canonical" href="http://www.example.com/new-widget-category" /> However, the content of each page (page 1, 2, 3, 4, 5) is different because different products are displayed. So far most what I read regarding the Canonical tag is that it is used for pages that have the same content but different URLs. I would hope that Google would combine the content of all 5 pages and view the result as a single URL www.example.com/new-widget-category Question 2) Is using the canonical tag appropriate in the case described above? Thanks !0 -
301 redirect
Hello, I received a crawl diagnostic report for the website http://www.advancedemt.com here's what it said: Issue: (301 redirect) Page Title URL:http://advancedemt.com/ Redirects to:http://http://www.advancedemt.com/ I called seohosting.com for help: They checked my .httaccess file and did not find anything that would cause this 301 redirect.. Cpanel was evaluated for a 301 redirect and nothing there either. MyPHP Admin was checked for anything that could possibly cause this issue. They had a tech search the entire database and no luck on any issue that may be causing the SEOmoz software to pick up this 301 redirect. We checked the Wordpress settings... No discrepancies. Wordpress permalinks... No problems..... We checked Google to see if they may have indexed the site for the error with no luck... I told the SEO Hosting staff that the canonical feature that has been built into Wordpress would prevent this redirect from allowing Google to index the site with this error. Is it possible that the crawl diagnostics is wrong??? Please help... Best regards, Jeff Bratcher (404) 520-2385
Moz Pro | | Jeff10 -
301 finder SEO Tool
Hi there, I´m looking for a tool, which shows all 301 redirect links to a domain. Have some competitors which haven´t many links but have quite good rankings. I suppose they have some 301 redirections... Thanks!
Moz Pro | | TheLastSeo0