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
-
Old Content after 301 Redirect Success
Hi, I want to ask what need I do to the old content after my 301 redirect to the new domain with the same content success? Do I need to remove that old content? Nothing bad happen right? Thanks
Technical SEO | | matthewparkman0 -
301 Redirect keep html files on server?
Hello just one quick question which came up in the discussion here: http://moz.com/community/q/take-a-good-amount-of-existing-landing-pages-offline-because-of-low-traffic-cannibalism-and-thin-content When I do 301 redirects where I put together content from 2 pages, should I keep the page/html which redirects on the server? Or should I delete? Or does it make no difference at all?
Technical SEO | | _Heiko_0 -
Can new content be added to a url which has a 301 redirect?
I am working on a site which is currently being redesigned. The home page currently ranks highly for relevant search terms, although on the new site the content on this page will be removed. The solution I was considering, to preserve rankings, was to move the content on the home page to a new url, and use a 301 redirect to help preserve rankings for that particular page. The question I have therefore, is am I able to add new content to the home page, and have this page freshly indexed accordingly? Any thoughts or suggestions would be most welcome. Thanks, Matt.
Technical SEO | | MatthewA0 -
301 redirects don't work properly
Hello all, I've been working on 301 redirects for a bit and normally it's no problem but some seem to be going wrong. Redirect 301 /3-zits.html http://www.bankstellenshop.com/banken/3-zits.html This one works properly but the following one gives a very strange result as it goes to http://www.bankstellenshop.com/bankstellen.html/u (no idea where the .html comes from) Redirect 301 /bankstellen/u http://www.bankstellenshop.com/bankstellen/u.html Any idea what I'm doing wrong or what should change? Thanks in advance!
Technical SEO | | Kapottefietsband0 -
Is anyone able to check this 301 redirect for errors please?
Hi, I had a developer write a 301 wildcard for redirecting old hosted site to a new domain. Old URLS looked like /b/2039566/1/akai.html
Technical SEO | | Paul_MC
With varying letters & numbers. I have 26,000 crawl errors in GWT and I can only imagine it's because this is looping?
Can anyone advise if this would be causing grief? Thanks
Paul RewriteCond %{HTTP_HOST} ^vacuumdirect.com.au$ [OR]
RewriteCond %{HTTP_HOST} ^www.vacuumdirect.com.au$
RewriteRule ^/?$ "http://www.vacuumbag.net.au/vacuum-cleaners.html" [R=301,L] <ifmodule mod_rewrite.c="">RewriteEngine On
RewriteBase /
RewriteRule ^p/([0-9]+)/(.*) default/$2 [R=301,L]</ifmodule> <ifmodule mod_rewrite.c="">RewriteEngine On
RewriteBase /
RewriteRule ^c/([0-9]+)/1/(.*) default/vacuum-bags/vacuum-cleaner-bags-$2 [R=301,L]</ifmodule> <ifmodule mod_rewrite.c="">RewriteEngine On
RewriteBase /
RewriteRule ^p/([0-9]+)/(.*) $2 [R=301,L]</ifmodule> <ifmodule mod_rewrite.c="">RewriteEngine On
RewriteBase /
RewriteRule ^c/([0-9]+)/(.*) default/$2 [R=301,L]</ifmodule>0 -
Redirect
Hello, I need to redirect just the homepage of my blog somewhere. So blog.com But there are other redirects in there and I don't want to override them. So blog.com/post.html How do I just redirect the homepage of wordpress page without redirecting all the other pages. This is what I did that recreated the issue. redirect 301 / blog2.com Thanks! Tyler
Technical SEO | | tylerfraser0 -
Not sure which URL to use for 301 redirect
A client has new website design completed by another developer, was launched in April of this year. No 301 redirect was set up so duplicate content is an issue. Client has had a website with same domain name for about 10 years, but has not had any SEO work completed before or since his new site design. For non-www there are 6 referring links - 1 considered to have authority, for www there are also 6 but 3 considered to have authority. More links seem to coming from www than non-www. But for one of the clients keywords they are ranked #1 for their area and that links to their non-www address. And even though no redirects set up by developer, non-www has had far more visits according to Google Analytics. So many basics that still need to be done for site: no meta-descriptions on any page, H1 and page titles could use keywords, call to action moved above fold, etc. Considering this is a new site, and new SEO work and many more inbound links needed, does it matter which address I redirect to? _Cindy Barnard
Technical SEO | | CeCeBar0 -
301 Redirect Issue
I'm having an issue with 301 redirects: Let's see if I can verbalize my thoughts on this one... So we just recently moved our site to Wordpress. One of our new 301 commands is redirecting oursite.com/news to oursite.com/blog . However there are other links from our previous site that look like oursite.com/news/XYZ and the issue is that, because wordpress structures its links differently, that URL is not equivalent to oursite.com/blog/XYZ. Instead, it might look something more like oursite.com/blog/yaddayadda/XYZ or something. Does that make sense? The issue is that when I find an old link of ours on google that looks something like "oursite.com/news/XYZ" or "oursite.com/news/ABC" it is automatically replacing "news" with "blog". When I try to go in manually and redirect anything that says "/news/XYZ" to "/blog/yaddayadda/XYZ" it still doesn't work. It still just replaces "news" with "blog." Wow I realize that might not make sense to anyone but if it does - please advise!! Thanks!!!!
Technical SEO | | EntrustSEO0