+ Reply to Thread + Post New Thread
Results 1 to 7 of 7

Thread: Different Home Page for Google Bot than For Normal Users

  1. #1
    Noobie
    Join Date
    May 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Different Home Page for Google Bot than For Normal Users

    Lets say i have domain http://example.com. In case google bot access my site i would like to serve example.com/main.html as home page. In all other cases home page should be as normal (accessed through http://example.com - default root pahe is index.php)

    So far i come up with this:

    Code:
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_USER_AGENT} .*Googlebot.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} googlebot^$ 
    RewriteRule ^index.php http://example.com/main.html [R=301,L]
    Is that good?

  2. Shorten URL    SEO Services    Buy Xrumer

    Sponsored Links

  3. #2
    Noobie
    Join Date
    May 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Is that good?

  4. #3
    Noobie
    Join Date
    Apr 2008
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Check out plugin 'default user agent' plugin for firefox. You can set your user agent as googlebot and test it yourself.
    Posted via Mobile Device

  5. #4
    Noobie
    Join Date
    Apr 2008
    Posts
    83
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Don't do this. It may seem like a short-term gain, but google pretty rapidly discovers this kind of trick and it's a great way to get your site banned. Doing shit like this shows google that without a doubt you intend to be blackhat.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts