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
-
After you remove a 301 redirect that Google has processed, will the new URL retain any of the link equity from the old URL?
Lets say you 301 redirect URL A to URL B, and URL A has some backlinks from other sites. Say you left the 301 redirect in place for a year, and Google had already replaced the old URL with the new URL in the SERPs, would the new URL (B) retain some of the link equity from URL A after the 301 redirect was removed, or does the redirect have to remain in place forever?
Technical SEO | | johnwalkersmith0 -
Alternatives 301? Issues redirection of index.html page with Adobe Business Catalyst
Hi Moz community, As for now we have two different versions of a client's homepage that’s dividing our traffic. One of the urls is the index.html version of the other url. We are using Adobe Business Catalyst for one of our clients and they told us they can’t 301 redirect. Adobe Business Catalyst does 301 redirects, but not to itself like an .htaccess rewrite. Doing a 301 redirect using BC from index.html to / creates an infinite loop and break the page. Are there alternatives to a 301 or any suggestions how to solve this? Thanks for all your answers and thoughts in advance,
Technical SEO | | Anna_Hoesl
Anna0 -
Should existing canonical tags be removed where a 301 redirect is the preferred option?
Hi, I'm working on a site that is currently using canonical tags to deal with www and non-www variations. My recommendation is to setup 301 redirects to deal with this issue instead. However, is it ok to leave the existing canonical tags in place alongside the new 301 redirects or should they be removed? My thoughts are that this is not a canonical issue and therefore they should be removed? If 301 redirects are not possible it would be better have them that nothing at all but I don't think we need both, right? Any feedback much appreciated!
Technical SEO | | MVIreland0 -
301 Redirect Attribute-Based Dynamic URL to Renamed Attributes
I work with a number of ecommerce sites that have dynamically-created urls based off of product attributes we've assigned in our cms. I am updating a handful of these attributes to more seo-friendly terms because they are outdated but am not certain how to go about redirecting all the urls that each attribute is in/could be in. For example: If I had the attributes hoagie and beanie and changed them to sandwich and headwear, a dynamic url might change like this: .com/hoagie/french-bread ---> .com/sandwich/french-bread .com/beanie/hoagie/novelty ----> .com/headwear/sandwich/novelty Since the urls are dynamically created, I am not sure how I go about redirecting all of them, or if I need to redirect all of them at all (instead just redirecting the urls indexed by Google, etc.) I also have a number of links within copy on each of the sites that contain linked anchor text using attributes that will be changing. I am assuming I will need to 301 each of these or update them manually to reflect the new attributes. I am new to the seo field and would appreciate any and all advice or direction to guides and tutorials that could aid me with this project. Thanks!
Technical SEO | | OfficeFurn0 -
301 Redirect Best Practices
Hi SEOs, Question about ranking/redirects. If I have a particular page that is already ranking for a couple KWs in top SERPs, but know there are higher volume KWs I can optimize for should I just leave it as is or change the URL key and redirect for the time being until Google re-indexes. Example:
Technical SEO | | IceIcebaby
current URL: www.example.com/action/best-movies
new URL: www.example.com/action/best-action-movies
(the current would be ranking for "best action moves" whereas the new would include the actual "best action movies" KW) Let me know if I can clarify, thank you!0 -
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 question www to root.com
I have a site that has been up for a few weeks now and is currently in a www format and i am considering changing it to just mydomain.com I also have quite a few directory listings (including google places/bing) for this site w/ the www. url. If i do this, change it in my google analytics, and update my wordpress internal page + htaccess file. Will i lose any of the link juice i had from my www pages? Would this be something that would be advised since i've registered for many sites, or is there a potential that this could end up hurting me? Thanks,
Technical SEO | | tgr0ss0 -
301 Redirect From Dynamic Page To Static
I want to 301 redirect all "id" and "type" numbers from my page dynamic.php page (I have thousands of IDs and thousands of Types) all to a single URL. So for example the following.... www.mysite.com/dynamic.php?id=1&type=5 www.mysite.com/dynamic.php?id=2&type=5 www.mysite.com/dynamic.php?id=3&type=5 www.mysite.com/dynamic.php?id=1&type=6 www.mysite.com/dynamic.php?id=2&type=6 www.mysite.com/dynamic.php?id=3&type=6 ...would all be sent to: www.mysite.com/page.html How can this be done without doing a redirect for each ID/Type?
Technical SEO | | TheDude1