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://mza.seotoolninja.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
-
How to Check 301 Done Properly on Homepage
Hi All, I posted previously about this, and had some good advice (thanks!)... but not quite sure my problem has been fixed. About a month ago we changed our hosting over, and our dev didn't coordinate to have both versions of our homepage redirected to the same URL. Our crawl showed up with every single page as duplicate content, and our organic traffic has since dropped by over 60%. They have told me that it is fixed as of last Monday, and a redundant error that was appearing in my Google Analytics now says that it has been fixed, but Moz crawled my site 2 days ago and still says everything is duplicate content, and my organic traffic is stressing me out! Any advice on how I can check this is done for myself, rather than trusting these guys haven't messed it up any further? Or is it possible the Moz crawl is a bit slower? Thanks in advance.
Moz Pro | | b4cab0 -
301 Redirects - But still duplicate content?
Our website domain website.com redirects to website.com/en (since it's in English). Therefore, all pages on website.com redirects to website.com/en. In my Moz analytics, it says I have duplicate content, and lists all of these pages. Didn't the 301 redirects take care of the duplicate content? Or do I still have to add canonical tags?
Moz Pro | | Taulia0 -
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 -
Duplicate Page Content, Indexing and Rel Canonical Just DOUBLED! Need Advice to Fix
Last Friday (Penguin 5/2.1) my website shot way off the grid and I noticed in my MOZ PRO Campaign dashboard that all of the following just doubled in numbers on my website: duplicate page content, Google indexing, and rel canonicals. I also noticed that some of my pages, images, tags and categories now added a /page/2/ or a -2. I just changed noindex for tags, but indexing for media, pages, posts, and categories. I'm currently using All In One SEO for a plugin. Any advice would be much appreciated as I'm stuck on the issue. relconical.png Duplicate-Page-Content.png [Duplicate Content II](Duplicate Content II) index1.png
Moz Pro | | CelebrityPersonalTrainer0 -
Rel=canonical "redirects" to double links
Our devs have set up rel=canonical on our website. First they used relative links href="/dir1/dir2/dir3" for the page http://www.mysite.com/dir1/dir2/dir3/?detail1=1?detail2=2 meaning that it will redirect to http://www.mysite.com/dir1/dir2/dir3, but no luck, the MOZ dashboard showed the tag value to be http://www.mysite.com/dir1/dir2/dir3/dir1/dir2/dir3, then we have decided to rewrite the code, and now the canonical to http://wwwmysite.com/dir1/dir2/dir3/?detail1=1?detail2=2 looks like href="http://www.mysite.com/dir1/dir2/dir3/" but the tag on MOZ looks like http://www.mysite.com/dir1/dir2/dir3http://www.mysite.com/dir1/dir2/dir3. So what is the problem? I really got a problem or MOZ does? The code on website looks exactly like href="http://www.aaa.com/en/bbb/ccc/vvv/nnn/" rel="canonical" /> for the page http://www.aaa.com/en/bbb/ccc/vvv/nnn/
Moz Pro | | apartmentGin0 -
Crawl findings 301 redirects I didn't make?
Hi, I'm new to SEOMOZ Pro and loving it so far, but was confused as to how the 51 page Crawl of my site (http://cryptophoneaustralia.com) found so many 301 redirects. 18 to be exact. It's a Wordpress site, and my htaccess file has no 301's in it, so I'm kind of confused as to where to start looking as to why they've shown up in the crawl. I've been building sites for years, and use 301's quite regularly, but this site should have none. The site was originally on a subdomain until it was ready to go live, then I moved the site to it's current domain and ran the Velvet Blues plugin to update all the URLs. I then went through and manually changed the ones in areas where this plugin tends to miss. The site still functions fine, it just bothers me why the 301's are being found in the crawl. Thank you.
Moz Pro | | TrentDrake0 -
Issue: 301 (Permanent Redirect) with my wordpress
I see in my campaigns in seomoz pro account...
Moz Pro | | sandyallain
it says that I have two urls with issue 301 (Permanent Redirect) What to do within my different content management systems WordPress ? here are the errors:: Page Title URL Redirects to Page Authority Linking Root Domains http://www.simplymadrid.org/blog/ http://www.simplymadrid.org/blog/ http://www.simplymadrid.org/blog 14 1 http://www.simplymadrid.org/es http://www.simplymadrid.org/es | http://www.simplymadrid.org/es/ | 24 | 2 |0 -
301 redirect in SEOMoz campaigns tool
I did a 301 redirect to another domain and I would like to change the domain name in SeoMoz campaigns tool to continue to track the keywords, is it possible ?
Moz Pro | | mhenriques0