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
-
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 -
New on SEO Moz and need help regarding panda recover.
Hello Dear Members, I am a new member to not only seomoz but to the SEO World as well. I was learning and implementing SEO from the last 5,6 months and got my website on Google.com page 1. I was quite happy with all the results. I recently got adsense approved on my site and was quite happy with the earnings as well. Unfortunately the most recent Panda update has effected most of my SEO efforts I was doing from the last 5,6 months. My rankings are effected a lot and same with my earnings from adsense. My rankings are effected in this manner. A couple of keywords that were in top 3 spots (1st page Google.com) are now at 7,8 (1st page Google.com) position. There are 3,4 pages that were previously on 5,6 spot (1st page Google.com) are now on 15, 16 spot (2nd page Google.com). Now I want to ask what tools from seomoz can help me to regain my lost positions in Google? Secondly what type of strategy (backlinks) can help me to regain the lost rankings? Best Regards Sam
Moz Pro | | sampaul5490 -
301 redirect
Guys Another post by me in regard to a 301 redirect which follows on from this post here http://www.seomoz.org/q/seomoz-crawl-test To quickly summarise all i have done is change URL name and done a simple 301 to change name where respective urls form old go to the relevant new pages Ok Now 14 weeks since we implemented our 301, Originally done In PHP everything looked text book but still 80% down on rankings PR has returned to inner pages Home page has not updated After some advice from some of the members here i changed the 301 on the old domain name from PHP to Htaccess This is the code i used on the old server is below RewriteEngine on RewriteRule ^(.*)$ http://www.newsite.co.uk/$1 [R=301,L] On the new site the canonical is fixed by PHP , i want to change this to Htaccess, capturing the canonical element along with removing the trailing slash (This is only what has been done in the past so just keeping consistant) This is the situation Old site sits on a different server from the new so each have their own individual I.P addresses I am convinced somewhere in the PHP application we are chaining so want Htaccess on old server to do the 301 and want htaccess on new server to deal with canonical elements and remove trailing slash (if that best practice) What would be the best way to do this where we wont be chaining 301's at present all looks perfect and doing what it should, but i know there is an issue and i believe it to be with the php script Thanks for taking the time to look Paul Ps where i had the issue on the old site where Crawl test said page don't exist i now have on the new site if i try and crawl the non www. version of the new site , tested on a site that has the htaccess 301 in place and get the option of crawling the old or the new page so something don't stack up so its not the tool its the PHP Fetch as Googlebot and every other tool reports the correct header responses
Moz Pro | | kellymandingo0 -
301 Permanently Moved Redirect
After completing a crawl of my website: www.getyourphotosonchavas.com I noticed that all of the pages had a 301 Redirect? There is this huge amount of what appears to be corrupted
Moz Pro | | rdominey
data for each of these pages: Please see the attached Crawl report and a test ran from a crawl spider. It looks like each page is a 301 redirect to itself? Can anyone please tell me what all this means? 301-Redirect-crawl.jpg 301-Redirects.jpg0 -
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 -
Is Open Site Explorer ignoring 301 redirects now?
I just recently saw a huge decline in the page rank of a specific page on my site. When I investigated a bit further I noticed that the drop in page rank looks like it is due to the fact that most of the links to the page come through 301 re-directs from an old page. I know you just made a change to Open Site Explorer. Did you change the way that you are treating 301 re-directs? Here is the new page: http://www.justjen.com/shop/big-sister-tshirts.htm Here is the old page: http://www.justjen.com/shop/bigsister-tshirts.htm Up until the last couple of days, the new page was showing the links from the old page in your cache, but as of today, the new page is only showing the links that go to it, not the links to the old page that is re-directed to it. If there was a change recently, was this intentional (trying to replicate the search engines better) or is it an oversight or database anomaly?
Moz Pro | | gametv0