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 redirect syntax for htaccess
I'm working on some htaccess redirects for a few stray pages and have come across a few different varieties of 301s that are confusing me a bit....Most sources suggest: Redirect 301 /pageA.html http://www.site.com/pageB.html or using some combination of: RewriteRule + RewriteCond + RegEx I've also found examples of: RedirectPermanent /pageA.html http://www.site.com/pageB.html I'm confused because our current htaccess file has quite a few (working) redirects that look like this: Redirect permanent /pageA.html http://www.site.com/pageB.html This syntax seems to work, but I'm yet to find another Redirect permanent in the wild, only examples of Redirect 301 or RedirectPermanent Is there any difference between these? Would I benefit at all from replacing Redirect permanent with Redirect 301?
Technical SEO | | SamKlep1 -
301 Redirects, Sitemaps and Indexing - How to hide redirected urls from search engines?
We have several pages in our site like this one, http://www.spectralink.com/solutions, which redirect to deeper page, http://www.spectralink.com/solutions/work-smarter-not-harder. Both urls are listed in the sitemap and both pages are being indexed. Should we remove those redirecting pages from the site map? Should we prevent the redirecting url from being indexed? If so, what's the best way to do that?
Technical SEO | | HeroDesignStudio0 -
Page for page 301 redirects from old server to new server
Hi guys:
Technical SEO | | cindyt-17038
I have a client who is moving their entire ecommerce site from one hosting platform (Yahoo Store) to another (BigCommerce) and from one domain to another. The old domain is registered with the Yahoo as of yesterday and we have redirected the old domain (at the domain level) to the new domain. However, we are having trouble getting the pages to redirect page for page. Currently they are all redirecting to the new domain home page. We did just move the old domain from GoDaddy to Yahoo yesterday thinking this would solve it however as of this morning the old pages are still redirecting to the home page of the new domain. To complete the 301 redirect picture, we uploaded the redirects (all relative links for both from and to) to BigCommerce. And while the domain was hosted at GoDaddy with a redirect to the new domain, they were working. We moved the domain to Yahoo because of email issues thinking it should still work. Is it possibly just a waiting game now as the change populates across the DNS? old url to test:
rock-n-roll-action-figures.com/fender-jazz-bass-miniature-guitar-replica-classic-red-finish.html0 -
SEO Redirect
If we have several hundred domain names currently using a park page, would we be better served having them redirect to our corporate homepage for SEO purposes?
Technical SEO | | mkessler0 -
CNAME vs 301 redirect
Hi all, Recently I created a website for a new client and my next job is trying to get them higher in Google. I added them in OSE and noticed some strange backlinks. To my surprise the client has about 20 domain names. All automatically poiting to (showing) the same new mainsite now. www.maindomain.nl www.maindomain.be
Technical SEO | | Houdoe
www.maindomain.eu
www.maindomain.com
www.otherdomain.nl
www.otherdomain.com
... Some of these domains have backlinks too (but not so much). I suggested to 301 redirect them all to the main site. Just to avoid duplicate content. But now the webhoster comes into play: "It's a problem, client has only 1 hosting account, blablabla...". They told me they could CNAME the 20 domains to the main domain. Or A-record them to an IP address. This is too technical stuff for me. So my concrete questions are: Is it smart to do anything at all or am I just harming my client? The main site is ranking pretty well now. And some backlinks are from their copy sites (probably because everywhere the logo links to the full mainsite url). Does the CNAME or A-record solution has the same effect as a 301 redirect, from SEO perspective? Many thanks,
Hans0 -
How to verify a page-by-page level 301 redirect was done correctly?
Hello, I told some tech guys to do a page-by-page relevant 301 redirect (as talked about in Matt Cutts video https://www.youtube.com/watch?v=r1lVPrYoBkA) when a company wanted to move to a new domain when their site was getting redesigned. I found out they did a 302 redirect on accident and had to fix that, so now I don't trust they did the page-by-page relevant redirect. I have a feeling they just redirected all of the pages on the old domain to the homepage of the new domain. How could I confirm this suspicion? I run the old domain through screaming frog and it only shows 1 URL - the homepage. Does that mean they took all of the pages on the old domain offline? Thanks!
Technical SEO | | EvolveCreative0 -
How do I 301 redirect a number of pages to one page
I want to redirect all pages in /folder_A /folder_B to /folder_A/index.php. Can I just write one or two lines of code to .htaccess to do that?
Technical SEO | | Heydarian0 -
301 redirect on wordpress.com
Hi, How/where do I input a 301 redirect for my http site within wordpress.com. I am already redirecting my wordpress url to myy new non wordpress domain Thanks Lisa
Technical SEO | | lisamarieCunn0