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
-
Help with 301 redirects.
Hi, I would like to say thank you in advance to all who help me with my question. MOZ crawl test showed duplicate content for a site that i just finished. I have www.site.com, site.com and site.index.html( all are the home page) So i have decided to 301 redirect all pages to site.com. And I also learned that when you do a 301 redirect all link juice is passed to the page that i redirect to. Here is my question: If someone links to my site using www.site.com instead of site.com in the future, will the 301 redirect still pass the pr to the page?( site.com). Or it only does, at the time of redirect and not in the future. I know this might be a stupid question but i am really new to this and couldn't find an answer for that. Thanks guys
Moz Pro | | Davit19850 -
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 -
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 -
Www, non www, 301 redirects, Google webmaster tools & SeomozPro
arg! Any help on this topic would be greatly appreciated! This is in regards to sheffieldfurniture .com In October of 2011 I had our host set up a redirect for our site so all non www requests would be redirected to the www version and it works great (so it seems at least) Recently I signed up for SEOMOZPRO and when I started trying to track my organic results for various keywords I realized that Google has my site indexed in the non www format. Is this a problem? I’ve read you can tell google what your preferred domain is in Google Webmaster Tools, is that what I should be doing? Are there any negatives to doing that? I’m just confused as to why Google hasn’t noticed or acknowledged the redirect in 4 months. It makes me wonder if something isn’t working properly? I have since added a second SEOMOZPRO campaign with the non www version but I’m worried about having historical tracking issues if I then tell google to use the www version…
Moz Pro | | SheffieldMarketing0 -
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 -
Open Site Explorer Issue - Pullng up No-follow links when settings ask for Follow + 301 Redirect..
Anybody else having this issue? Here lately when I am doing competitive research on open site explorer I set it to only pull up followed + 301 redirects and it will still pull up no-follow competitors links. Can anybody help me out here?
Moz Pro | | axzm0 -
Impact of 301-redirected domains on OSE Metrics
When looking at the OSE metrics (DA, PA, Number Linking RDs etc.) is it purely based on OSEs evaluation of the specific domain or will it take into account links that have been 301-redirected to the domain?
Moz Pro | | bjalc20110