Results 1 to 4 of 4

Quick question(s) about robots.txt

This is a discussion on Quick question(s) about robots.txt within the General Discussion forums, part of the vBSEO SEO Plugin category; My robots.txt is in my site root, however my forum is in it's own folder. So my setup looks like ...

  1. #1
    Member
    Real Name
    Aaron Dev
    Join Date
    Mar 2011
    Posts
    72
    Liked
    2 times

    Question Quick question(s) about robots.txt

    My robots.txt is in my site root, however my forum is in it's own folder. So my setup looks like this:

    Code:
    Disallow: /forums/archive/
    My question is, does

    Code:
    Disallow: /forums/archive/
    mean that anything starting in that URL will not be indexed? In terms of other folders, like images, would:

    Code:
    Disallow: /forums/images/
    Disallow crawling of everything within the images folder?

    And lastly, do the URLs and file extensions specified need to be the rewritten URLs, or the non-rewritten versions? Or do I need both?

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Everything in robots is relative to the robots file itself, which must be in .com/robots.txt location (or it won't do anything).

    so, yes, if you want to block /forums/images/ you need both folders to create the full path from root.

    If you have non-rewriten items still indexed, yes you can block them, otherwise usually just the re-written version is fine.

  3. #3
    Member
    Real Name
    Aaron Dev
    Join Date
    Mar 2011
    Posts
    72
    Liked
    2 times
    Brian,

    Might I ask what you or vbseo block or allow in your robots.txt files? My list has grown quite long. Should I be allowing tag pages for example? Or is it best to just block everything and only allow the sitemap to be crawled.

    Also, would it be easier/involve less directives to just have:

    Code:
    Disallow: /forums/
    To block everything within that directory, and then allow a few things selectively?:

    Code:
    Allow: /forums/tags/

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    You should ONLY block items that you don't want indexed. Blocking your forum directory is a bad idea.

Similar Threads

  1. Quick question
    By BiGMERF in forum General Discussion
    Replies: 4
    Last Post: 10-26-2008, 06:03 PM
  2. quick question
    By john.ciacia in forum Pre-Sales Questions
    Replies: 3
    Last Post: 05-25-2008, 11:28 PM
  3. A Quick Question
    By Basit in forum Troubleshooting
    Replies: 8
    Last Post: 03-30-2008, 01:50 AM
  4. Quick Question
    By Steve in forum Pre-Sales Questions
    Replies: 2
    Last Post: 10-21-2005, 12:32 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
  •