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
-
Pages with 301 redirects showing as 200 when crawled using RogerBot
Hi guys, I recently did an audit for a client and ran a crawl on the site using RogerBot. We quickly noticed that all but one page was showing as status code 200, but we knew that there were a lot of 301 redirects in place. When our developers checked it, they saw the pages as 301s, as did the Moz toolbar. If page A redirected to page B, our developers and the Moz toolbar saw page A as 301 and page B as 200. However the crawl showed both page A and page B as 200. Does anyone have any idea why the crawl may have been showing the status codes as 200? We've checked and the redirect is definitely in place for the user, but our worry is that there could be an issue with duplicate content if a crawler isn't picking up on the 301 redirect. Thanks!
Technical SEO | | Welford-Media0 -
Redirect 301 & Wild Cards
Afternoon All! Question, I am having trouble getting my head around redirects and I am wondering if someone could help me on this.... We recently changed our website and although were using the same database, were using a different URL structure. So for example... Old URL siteurl.com/products/product/moredetails/merlin.id1553.html
Technical SEO | | scottiedog
New URL siteurl.com//vertigo/dl/product.php?p=1553 As you can see the product has the same ID number, just in a different directory. What I'd like to happen is.... If you go too siteurl.com////.idXXXX.html then you are 301'd too siteurl.com//vertigo/do/product.php?p=XXXX Obviously XXXX is the ID number of the product in our database. Any thoughts? I need help! Thanks in advance.0 -
Questions about the Sandbox and 301 Redirects
Does the sandbox still exist? What if you have a brand new URL and do a 301 redirect from another website because the name of the service business changed? Thanks for any insight and help.
Technical SEO | | SDSLaw0 -
Where to put 301 redirects in Magento?
I will be changing the URL structure in a magento store from "base/category/subcategory/product" to "base/product" which means i have to make over 1000 URL 301 redirects so our old links still work. Should i put the redirects in a .htaccess file so they stay intact no matter what or should i just put them in with all the other rewrites (in Magento 's URL rewrite manager)? Thanks
Technical SEO | | tilenkrivec0 -
Is it better to delete web pages that I don't want anymore or should I 301 redirect all of the pages I delete to the homepage or another live page?
Is it better for SEO to delete web pages that I don't want anymore or should I 301 redirect all of the pages I delete to the homepage or another live page?
Technical SEO | | CustomOnlineMarketing0 -
Any way around buying hosting for an old domain to 301 redirect to a new domain?
Howdy. I have just read this QA thread, so I think I have my answer. But I'm going to ask anyway! Basically DomainA.com is being retired, and DomainB.com is going to be launched. We're going to have to redirect numerous URLs from DomainA.com to DomainB.com. I think the way to go about this is to continue paying for hosting for DomainA.com, serving a .htaccess from that hosting account, and then hosting DomainB.com separately. Anybody know of a way to avoid paying for hosting a .htaccess file on DomainA.com? Thanks!
Technical SEO | | SamTurri0 -
301 redirect
What is a proper way to redirect any url containing a give word (anywhere in the url) to another sepcified url? Is it like this? RedirectMatch 301 ^thisword$ http://domain.com/newlocation
Technical SEO | | sesertin1 -
301 Redirect & Cloaking
HEllo~~~~ People. I have a question regarding on cloaking. I will be really greatful if you can help me with question. I have a site www.example.com and it is targeting for multi countries. So I use sub directories for targeting multi countries. e.g. www.example.com/us/ www.example.com/de/ www.example.com/hk/ ....... so on and on. Therefore, when people type www.example.com, I use IP delivery to send users to each coutries. Here is my question. I use 301 redirect for IP delivery, which means when user enter www.example.com, my site read user's IP and send them to right country site by 301 redirect. In this case, is there any possibility that Google considers it as cloaking? Please people.... share me some ideas and thoughs.
Technical SEO | | Artience0