Results 1 to 10 of 10

Robots file and the rewritten urls....

This is a discussion on Robots file and the rewritten urls.... within the General Discussion forums, part of the vBSEO SEO Plugin category; Does it still work to say showthread.php since the urls do not have showthread.php in them?...

  1. #1
    Senior Member BamaStangGuy's Avatar
    Real Name
    Brent Wilson
    Join Date
    Aug 2005
    Location
    Huntsville, Alabama
    Posts
    2,484
    Liked
    1 times

    Robots file and the rewritten urls....

    Does it still work to say showthread.php since the urls do not have showthread.php in them?

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,742
    Liked
    168 times
    Hi,

    nope, these entries are applied to the original dynamic vB URLs only and vBSEO URLs are not affected by this.

  3. #3
    Senior Member BamaStangGuy's Avatar
    Real Name
    Brent Wilson
    Join Date
    Aug 2005
    Location
    Huntsville, Alabama
    Posts
    2,484
    Liked
    1 times
    Quote Originally Posted by Oleg Ignatiuk
    Hi,

    nope, these entries are applied to the original dynamic vBulletin URLs only and vBSEO URLs are not affected by this.
    So how do I go about restricting all the files I want to like showpost and private.php etc etc?

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,742
    Liked
    168 times
    That depends on your URL formats, robots.txt entries should be aimed to the links your forum is using.
    private.php is not rewritten though, for instance (and you can keep it as is).

  5. #5
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    You could turn off re-writing for the ShowPost URLs, then showpost.php in the robots.txt would work. That's what I do. Plus, it's that much less load on the server since all those links on each thread page don't have to be rewritten.
    Last edited by Keith Cohen; 02-20-2006 at 03:25 PM.

  6. #6
    Senior Member BamaStangGuy's Avatar
    Real Name
    Brent Wilson
    Join Date
    Aug 2005
    Location
    Huntsville, Alabama
    Posts
    2,484
    Liked
    1 times
    Do you have to put the /forum in front or just /printthread.php?

    /forum/printthread.php
    or
    /printthread.php

  7. #7
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    If it's in the forum directory, you'll need the full path.

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,742
    Liked
    168 times
    You can also set the "'Printthread' URL Format" to:
    print/[forum_title]/[thread_id]-[thread_title].html
    and then the entry in robots.txt will be:
    Disallow: /forum/print/

  9. #9
    Senior Member BamaStangGuy's Avatar
    Real Name
    Brent Wilson
    Join Date
    Aug 2005
    Location
    Huntsville, Alabama
    Posts
    2,484
    Liked
    1 times
    Thanks to both of you

  10. #10
    Senior Member BamaStangGuy's Avatar
    Real Name
    Brent Wilson
    Join Date
    Aug 2005
    Location
    Huntsville, Alabama
    Posts
    2,484
    Liked
    1 times
    Here is my new file:

    User-agent: *
    Disallow: /forum/admincp/
    Disallow: /cgi-bin/
    Disallow: /forum/clientscript/
    Disallow: /forum/includes/
    Disallow: /forum/install/
    Disallow: /gallery/showmembers.php
    Disallow: /gallery/misc.php
    Disallow: /gallery/comments.php?
    Disallow: /forum/modcp/
    Disallow: /forum/subscriptions/
    Disallow: /forum/calendar.php
    Disallow: /forum/cron.php
    Disallow: /forum/editpost.php
    Disallow: /forum/faq.php
    Disallow: /forum/global.php
    Disallow: /forum/image.php
    Disallow: /forum/joinrequests.php
    Disallow: /forum/login.php
    Disallow: /forum/misc.php
    Disallow: /forum/moderator.php
    Disallow: /forum/newattachment.php
    Disallow: /forum/newreply.php
    Disallow: /forum/new-thread/
    Disallow: /forum/online/
    Disallow: /forum/payments.php
    Disallow: /forum/postings.php
    Disallow: /forum/print/
    Disallow: /forum/private-messages/
    Disallow: /forum/register/
    Disallow: /forum/report.php
    Disallow: /forum/reputation.php
    Disallow: /forum/sendmessage.php
    Disallow: /forum/member-groups/
    Disallow: /forum/profile/
    Disallow: /forum/showpost.php
    Disallow: /forum/threadrate.php
    Disallow: /forum/control-panel/

Posting Permissions

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