Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 05:46:21 PM

Pages: [1]   Go Down
  Print  
Author Topic: 301 Redirects, the Google way.  (Read 1621 times)
lostnbr
Pong! (the videogame) Master
*****
Offline Offline

Posts: 23


WWW
« on: February 14, 2010, 02:06:03 PM »

Recently changed primary domain name from lostnbr.com to caceres-mt.com; caceres-mt.com was a parked domain and now lostnbr.com is. There was some slight hiccup ... I wrote a ticket, the tech guys fixed it and now everything works great. YEEEEAAAA!!!
So I am reading the lunarpages newsletter and they suggest the 'woorank website analysis tool' so I run that and find a lot of little fixable problems; one being woorank suggests that I should put in a redirect for all caceres-mt.com requests to resolve www.caceres-mt.com. So I created a '.htaccess.' file and put the following code in:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^caceres-mt\.com$ [NC]
RewriteRule ^(.*)$ http://www.caceres-mt.com/$1 [R=301,L]

Which works fine ... YEEEAAA!!!
But then I start thinking about the Google search results for the site that come up and they still point to lostnbr.com or www.lostnbr.com. and should now be pointing to www.caceres-mt.com. So I put the new primary domain on a Google webmaster tools account and went to 'moving your site' where it says: "Don't do a single redirect directing all traffic from your old site to your new home page. This will avoid 404 errors, but it's not a good user experience. It's more work, but a page-to-page redirect will help preserve your site's ranking in Google while providing a consistent and transparent experience for your users." Okay so I insert the following code, recommended by lunatics, http://blog.lunarpages.com/2009/03/13/golden-rule-on-redirects-to-keep-google-happy/  to Keep Google Happy:
Redirect 301 /index.html http://www.caceres-mt.com/index.html
Redirect 301 /info/hotels.html http://www.caceres-mt.com/info/hotels.html
Redirect 301 /info/links.html http://www.caceres-mt.com/info/links.html
Redirect 301 /info/transp.html http://www.caceres-mt.com/info/transp.html
Redirect 301 /content/faviloco.html http://www.caceres-mt.com/content/faviloco.html
Redirect 301 /content/faviloco-daveron.html http://www.caceres-mt.com/content
/faviloco-daveron.html
Redirect 301 /content/faviloco-fawcett.html http://www.caceres-mt.com/content/faviloco-fawcett.html
Redirect 301 /content/faviloco-matschat.html http://www.caceres-mt.com/content/faviloco-matschat.html
Redirect 301 /content/faviloco-strauss.html http://www.caceres-mt.com/content/faviloco-strauss.html
(with spaces)

But I get some kind of 400 number errors and the Google links won't resolve. I tried this alternate code:
Redirect permanent /index.html http://www.caceres-mt.com/index.html
But the server chases it's tale and mine at this end times out on some kind of circular error. So I ended up using the single redirect, which works just fine, but that Google says not to:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^.*lostnbr\.com$ [NC]
RewriteRule ^(.*)$ http://www.caceres-mt.com/$1 [R=301,L]

Now I am in Big Trouble ... or am I?
Does anyone know why the individual redirects won't work as written?
Does anyone know why I shouldn't use the single redirect?
Should I write a work ticket and ask the tech guys?
Any insight would be appreciated!!!
Thanks!!

« Last Edit: February 14, 2010, 06:55:07 PM by lostnbr » Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12838


WWW
« Reply #1 on: February 15, 2010, 05:36:31 AM »

Could you link us to an example search from Google that isn't working?  I just tested it myself, and your web site seems to resolve the the www. version just fine.
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
lostnbr
Pong! (the videogame) Master
*****
Offline Offline

Posts: 23


WWW
« Reply #2 on: February 15, 2010, 08:01:10 AM »

Could you link us to an example search from Google that isn't working?  I just tested it myself, and your web site seems to resolve the the www. version just fine.
Mitch -
Well the search results are mainly pointing to the old primary domain. Maybe it will work itself over with time but The Google said to use the individual redirects which I couldn't make work. Example searches:
http://www.google.com/webhp?hl=en#hl=en&q=caceres+mato+grosso+brazil&aq=1p&aqi=g-p3g7&oq=caceres&fp=173c88006b48283c
http://www.google.com/webhp?hl=en#hl=en&pwst=1&ei=mml5S9nZCImOuAfXw9HICQ&sa=X&oi=spellfullpage&resnum=0&ct=result&cd=2&ved=0CAkQvwUoAQ&&q=Caceres,+mato+grosso,+transportation&spell=1&fp=173c88006b48283c
I see one result points to the new primary domain, www.caceres-mt.com. The only questions are why don't the individual 301 redirects work (probably some conflict with the automatic redirects and not worth fooling with); and does it matter (probably not). It gets very good results on the US google but on the Brazilian google (google.com.br) it sucks. Maybe it's just best to live with it for now.
Thanks for your attention!!!
Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12838


WWW
« Reply #3 on: February 15, 2010, 08:06:56 AM »

Well, it might take Google to reflect the changes, because they won't be able to confirm the changes till their search engine spiders re-crawl your web site links. 
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
tgibbons
Spaceship Captain
*****
Offline Offline

Posts: 117


« Reply #4 on: February 15, 2010, 01:51:31 PM »

For your individual rewrites to work, they would have to be written like the other RewriteRule you did.  However, it isn't necessary, your single rewrite rule with the $1 parameter is just as good.  It does individual rewrites without having to code each one separately.  What Google was cautioning against was having all redirects go to a single page, but with your rule they don't.

Mitch is correct, it will take Google a few weeks to catch up.
Logged

Tom
lostnbr
Pong! (the videogame) Master
*****
Offline Offline

Posts: 23


WWW
« Reply #5 on: February 15, 2010, 08:39:53 PM »

thanks tgibbons ...
thanks mitch ...
over and out ...
Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12838


WWW
« Reply #6 on: February 16, 2010, 04:20:28 AM »

Happy to help!  Bouncin for Joy
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
Pages: [1]   Go Up
  Print  
 
Jump to: