Is my 301 redirect working?
-
Very simple question here . I've redirected a bunch of older pages with decent ranking to some newer pages on my site, using the Thesis theme's built-in redirect function.
However, in the SERPS, the older pages (and, importantly, older titles) still show up. When clicked on, they redirect to the new page, but it's still irritating because the older titles make the site look out of date.
Is this Working As Intended, or have I or my theme done something wrong? And if it's the latter, what's the best way to achieve a redirect, preferably with a Wordpress plugin?
-
Thanks Mike..great instructions to 301 via .htaccess file.
-
hi mike,
thanks for the detailed response. that seems like a pretty solid methodology. apparently resubmitting your old sitemap also helps google to recrawl those old url's..
although this is a bit off the point from the original question in this thread, this is a great Q&A answer from one of the seomoz staff about how to implement sitewide redirects http://www.seomoz.org/qa/view/45183/update-url-structure
-
Hi Hugh,
Glad the advice helped
I have run into issues with Wordpress plugins in the past (ones that do various things!) and for important stuff like 301's, I tend to prefer working in .htaccess manually, as I can see what it is happening, and see how to fix any issues easier.
If you run into the issue whereby you are doing massive amounts of 301's, it is sometimes possible to do re-write rules on the URL structure to effect large amounts of 301's, however this can be a bit more involved
Anyway, glad you got it sorted - did you check them with the http header check tool? (there are a few like that tool I linked to in case you prefer others, simply google: http header status tool
And that should give you a few (just letting you know in case you either prefer others, or if that one goes down when you need it ever).
Cheers!
Mike.
-
All done. I added the redirects to the .htaccess directly, and it's now working as it should.
Bonza.
In answer to your question - about 15 pages, so not un-doable by hand.
-
In theory, I agree with you. However, the plugin didn't work, and editing the .htaccess did, so I'm going with that in future!
-
I think that to work directly in the .htacces would not be needed, as that should be the purpose of the wordpress plugin...
-
Hi, I am not Gianluca, but hope you don't mind my input here!
From our own experience, this is what happens:
1) Implement a 301
-
TEST to ensure you get the correct header status (301 permanently moved)
-
Google eventually crawls the old page, and finds the 301 redirect
-
After some time, Google replaces the old URL with the new URL.
Now, as for speeding things up, in my opinion (born out by testing), counter to your idea of adding the new URL to webmaster tools, it is better to get Google to find the actual 301 redirect, before the new url (this way, Google won't see the new URL as a duplicate, before it finds the old, now 301 redirected, URL, which in theory 'could' happen if both pages had the same content/title tag, etc - Although with just 1 or 2 redirects, it is quite unlikely, and should resolve itself pretty quick).
So what I like to do, is try to get Googlebot to the old (301'd) page as soon as possible once it has been implemented (and tested!).
To do this, consider pinging the URL, or pinging your RSS feed (if your site has them) - Tweet about the fact you did a redirect, and link from twitter to the old URL, or even, if you have done some website redesign, write a press release about it, and within the PR, link to the old page... Basically, anything to get google old Googlebot to crawl the old URL< and find the 301 redirect
Others may disagree, but this does appear to work well for us!
Hope that helps,
Mike.
-
-
I like to add the 301's myself in the .htaccess file, with the following format:
Redirect 301 /url-goes-here.html http://www.yoursite.com/url-goes-here.html
Be sure to use that structure (eg. NO http://www. on the old page, but have it on the new page)
Maybe try that for 1 URL, and see if it works for you? - I have to say, be sure to not delete any o fthe other stuff in your .htaccess file! - Best to create a backup BEFORE editing
Remember, when doing web design, coding, or on-page SEO, if anything goes wrong, the worse thing that should happen is that you have to revert back to the bacup that you made before you started
Although if you have lots to do, then you can automate it... various ways to do that!
Really it depends on the context of what you want to do.
Can I ask, how many pages do you want to 301 redirect?
-
Hi Gianluca,
Sorry for butting into this thread, hope you dont mind:
So the process that typically happens is:
1. 301 redirect is implemented but older pages remain in the index and ranking
2. Over time Google will drop the older pages and replace them in their index with the new pages
Is that the process? Is it an exact replacement, and is there a period of overlap when both the new and old pages are ranking?
Also, is it possible to speed up the process by delisting the old URL with GWT and adding the new URL to GWT?
Thanks in advance
-
Wordpress Simple 301 Redirect plugin did NOT give me 301s on the site you recommended. So, for anyone else reading this subsequently - don't use that
However, I then went and just inserted redirects into the .htaccess, and that worked like a charm. Win.
Thanks very much!
-
It was a few weeks ago, and we're crawled pretty frequently. I think my theme is Not Doing What It Should.
-
HTTP/1.1 200 OK. Oh, dammit.
I'm going to try installing a plugin to sort this problem out, and if that doesn't work, I'll be back. Thanks!
-
It can take a while for Google to update - how long ago did you do this?
I would look here: http://www.webconfs.com/http-header-check.php
Enter an old URL, and hit 'Submit' - You should then be taken to a results page, and hopefully will see this:
"HTTP/1.1 301 Moved Permanently => "
If you don't, something is wrong
Try that tool, and copy/paste the result here for everyone to take a peek at - we will then help if we can, as we will have more to go on
Hope that helps!
Oh, and also, consider this plugin for firefox: https://addons.mozilla.org/en-US/firefox/addon/live-http-headers/
-
First question: how long ago did you do the redirect 301?
This is not a stupid question. In fact Google will show the change of urls in the serps (and therefore the new snippet) just after a certain time.
That does not mean that it is not indexing your new pages (try a search with their URL to check this), simply the old ones are still present in the index.
Irritating, yes...
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 Backlinks?
I am wondering how many people still getting results from 301 redirects from high authority expired domains..? I read few case studies on detailed dot com where the shared some people still making big bucks from this strategy which i think 10beast also implemented few years back.? Is it worth it to test out 301 redirects to money sites.? How many people on the moz community here have implemented this strategy in practical and can share some insights and pros and cons of doing 301 redirects? Many Thanks.
Technical SEO | | asifseo0980 -
HTacess 301 redirect with special characters
Hello moz community ! I would to make a special 301 redirection through my htaccess file. I am a total noob concerning regexp and 301 redirection. I would like to redirect(301) this url : http://www.legipermis.com/stages-points/">http://www.legipermis.com/stages-points/</a></p>; yes yes it's in the index of google, this strange url includes the last ; to http://www.legipermis.com/stages-points/ I have already include a canonical tag by security, i would like to remove url with a 301 redirection and by remove this url through GWT (but the removal tool can't "eat' this kind of URL) Please consider the fact that i am not an expert about 301 redirections and regexps. No 301 redirect generator works properly for such a strange URL (which triggers content duplication corrected anyway with canonical tag). Thanks for your help.
Technical SEO | | LegiPermis0 -
404 to 301 redirects is there a limit?
Hi We've just updated our website and have binned out alot of old thin content which has no value even if re written. We have a lot of 404 error on WMT and I am in the process of doing 301 redirects on them. Is there a limit to the number of 301 the site should have?
Technical SEO | | Cocoonfxmedia0 -
Link juice and 301 redirects
Hi, I have a page with a lot of links going to it. I want to change the name of the page (thereby changing the URL). I can do a 301 redirect, but does a 301 send the "link juice" to the new page? The page in question is www.aerlawgroup.com/dui.html, and I want to change it to www.aerlawgroup.com/dui-lawyer.html. Thank you in advance for your time.
Technical SEO | | mrodriguez14400 -
301 Redirect Clarification: Images, Paramter URLs, etc.
I know that going through a site redesign it's essential to make sure that 301s are implemented for any changed URLs, but I wasn't sure if this was the same for the images on the page and the parameter URLs that are created by marketing campaigns - do those URLs also need to be 301 redirected? For example, this URL: www.mysite.com/32-inch-round-aluminum-table/ Could have a parameter at: www.mysite.com/32-inch-round-aluminum-table/?utm_source=twitterfeed&utm_medium=twitter&utm_campaign=Social%3A+My_Site And an image at: www.mysite.com/images/32-inch-round-aluminum-table.jpg Would the first two URLs mentioned need to be redirected to the new URL, and the image redirected to the new image URL? Thanks for the help.
Technical SEO | | eTundra0 -
302 to 301 redirect
Our site has quite a few 302 redirects that really ought to be 301's. Our IT department is really busy so the question is, given that the 302's have probably been in place for years, is it worth changing them to 301's now? Thanks
Technical SEO | | Houses0 -
Is 301 redirecting all old URLS after a new site redesign to the root domain bad for SEO?
After a new site redesign ...would it hinder our rankings if we 301 redirected all old URLS that are returning 404 error codes to the root domain (home page) ? Would this be a good temporary solution until we are able to redirect the pages to the appropriate corresponding page? Thanks so much!
Technical SEO | | DCochrane0 -
Removing 301 Redirects
Is it safe to remove old 301 Redirects from an SEO standpoint and can 301s dramatically affect seo? Prior to switching our old domain over to our new domain, we had (and currently still do) tons of 301 redirects, because of optimizing our file names and structure. Then our old domain was redirected to our new domain in the same redirect file. So that being said, now that our new domain has been up and running for about 3 months, would it be safe for me to get rid of the old 301 redirects and redirect anything that was on our old domain to our new domains home page? This would clean up our redirects tremendously and I hope would help with SEO.
Technical SEO | | hfranz0