Results 1 to 8 of 8

Robots.txt Help

This is a discussion on Robots.txt Help within the General Discussion forums, part of the vBulletin SEO Discussion category; Can anyone take a look at my robots.txt? I want to stop spiders from viewing the userprofile. It seems liike ...

  1. #1
    Senior Member
    Real Name
    james
    Join Date
    Aug 2006
    Posts
    254
    Liked
    0 times

    Robots.txt Help

    Can anyone take a look at my robots.txt?

    I want to stop spiders from viewing the userprofile. It seems liike stupid google bots enjoy crawling on the user profile only.

    Thanks

    HTML Code:
    User-agent: *
    Disallow: /forums/ajax.php
    Disallow: /forums/attachment.php
    Disallow: /forums/calendar.php
    Disallow: /forums/cron.php
    Disallow: /forums/editpost.php
    Disallow: /forums/global.php
    Disallow: /forums/image.php
    Disallow: /forums/inlinemod.php
    Disallow: /forums/joinrequests.php
    Disallow: /forums/login.php
    Disallow: /forums/member.php
    Disallow: /forums/memberlist.php
    Disallow: /forums/misc.php
    Disallow: /forums/moderator.php
    Disallow: /forums/newattachment.php
    Disallow: /forums/newreply.php
    Disallow: /forums/newthread.php
    Disallow: /forums/online.php
    Disallow: /forums/poll.php
    Disallow: /forums/postings.php
    Disallow: /forums/printthread.php
    Disallow: /forums/private.php
    Disallow: /forums/profile.php
    Disallow: /forums/register.php
    Disallow: /forums/report.php
    Disallow: /forums/reputation.php
    Disallow: /forums/search.php
    Disallow: /forums/sendmessage.php
    Disallow: /forums/showgroups.php
    Disallow: /forums/subscription.php
    Disallow: /forums/threadrate.php
    Disallow: /forums/usercp.php
    Disallow: /forums/usernote.php

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Do you have robots.txt file at your forum root ? If yes just remove /forums/ from each file.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Senior Member
    Real Name
    james
    Join Date
    Aug 2006
    Posts
    254
    Liked
    0 times
    This is the file located in my public_html.

    I need to remove forums? How do I stop spiders from viewing user profile?

  4. #4
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    add robots.txt file under your vb root folder with the following content

    Code:
    User-agent: *
    Disallow: /ajax.php
    Disallow: /attachment.php
    Disallow: /calendar.php
    Disallow: /cron.php
    Disallow: /editpost.php
    Disallow: /global.php
    Disallow: /image.php
    Disallow: /inlinemod.php
    Disallow: /joinrequests.php
    Disallow: /login.php
    Disallow: /member.php
    Disallow: /memberlist.php
    Disallow: /misc.php
    Disallow: /moderator.php
    Disallow: /newattachment.php
    Disallow: /newreply.php
    Disallow: /newthread.php
    Disallow: /online.php
    Disallow: /poll.php
    Disallow: /postings.php
    Disallow: /printthread.php
    Disallow: /private.php
    Disallow: /profile.php
    Disallow: /register.php
    Disallow: /report.php
    Disallow: /reputation.php
    Disallow: /search.php
    Disallow: /sendmessage.php
    Disallow: /showgroups.php
    Disallow: /subscription.php
    Disallow: /threadrate.php
    Disallow: /usercp.php
    Disallow: /usernote.php
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  5. #5
    Senior Member
    Real Name
    james
    Join Date
    Aug 2006
    Posts
    254
    Liked
    0 times
    I have it under my public_html. Isnt this the same thing?

  6. #6
    eJM
    eJM is offline
    Senior Member eJM's Avatar
    Real Name
    Jim McClain
    Join Date
    May 2006
    Location
    teh Ether
    Posts
    311
    Liked
    2 times
    The robots.txt file should always be located at your domain root. In your case, soletrader, that is public_html. Your path statements should include the direct path FROM your domain root. I checked the location of your robots.txt file and it is correct.

    The problem you are experiencing is because you have rewritten the url to your user profiles. It is no longer /forums/profile.php. Your own profile is my example: /forums/1-soultrader/ You may have a tough time keeping spiders away from profiles like that. You may want to customize the rewrite rule for Member Profile URL Format to something like profiles/[user_id]-[user_name].html and make the robots.txt entry read something like Disallow: /forums/profile/. That will keep spiders out of all profiles.

    On a side note, I prefer to let my member profiles be spidered. They have a lot of good keywords in their profiles.

    Jim

  7. #7
    Senior Member
    Real Name
    james
    Join Date
    Aug 2006
    Posts
    254
    Liked
    0 times
    Thanks eJM. I needed that info

  8. #8
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    ...and if you don't want your user profiles to be indexed, you should really turn off the rewriting for them... That will save you some CPU load, and make it easier to block them via ROBOTS.TXT.

Similar Threads

  1. robots.txt
    By Zenith in forum General Discussion
    Replies: 64
    Last Post: 12-01-2010, 07:52 PM
  2. MSNbot - robots.txt
    By curriertech in forum General Discussion
    Replies: 1
    Last Post: 10-05-2006, 08:29 AM
  3. Temp robots.txt Brand New Forum?
    By rmjvol in forum Pre-Sales Questions
    Replies: 7
    Last Post: 08-26-2006, 01:53 AM
  4. robots.txt entries
    By shaochun in forum General Discussion
    Replies: 5
    Last Post: 12-10-2005, 07:18 PM
  5. Possible to use Disallow: /*?pp=10 in robots.txt?
    By PageUp in forum General Discussion
    Replies: 3
    Last Post: 11-03-2005, 09:01 PM

Posting Permissions

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