Results 1 to 4 of 4

nofollow for threadview pages exept for page one

This is a discussion on nofollow for threadview pages exept for page one within the General Discussion forums, part of the vBSEO SEO Plugin category; hello, on my forums, guests are only allowed to view the first page of a thread on all other pages ...

  1. #1
    Member
    Join Date
    Jan 2006
    Posts
    31
    Liked
    0 times

    nofollow for threadview pages exept for page one

    hello,
    on my forums, guests are only allowed to view the first page of a thread
    on all other pages 2,3,etc there is no content but a small error message that guests are not allowed to view more than the first page of a thread

    now, i want to set the attribute nofollow for every page exept the first one, so the crawlers won't access them
    how can i do that?

    can anybody help me?

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

    this is an interesting question (and forums configuration).

    vBSEO doesn't have an option to add rel="nofollow" to 2+ showthread pages separately.

    However, you can do something like this:

    1. Set "Multiple Page Thread URL Format" in vbseocp to:
    more/[forum_title]/[thread_title]-[thread_page]-[thread_id].html
    Notice the first part of the URL.

    2. Add the following to your robots.txt:
    User-agent: *
    Disallow: /more/

    Perhaps that will make URLs a bit de-organized, but it allows to move your "registered-only" content to a virtual subfolder.
    Does it make sense?

  3. #3
    Member
    Join Date
    Jan 2006
    Posts
    31
    Liked
    0 times
    thank you so much for this great solution

    is it also possible to include only the first page of a thread into the vbseo sitemap?
    i don't want loosing pagerank by this modification

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

    great

    As for sitemap entries exclusion, you can do the custom code modification to achive this.
    in vbseo_sitemap_functions.php file
    FIND:
    $totalpages = ceil($totalposts / $perpage);
    REPLACE WITH:
    $totalpages = 1;

Similar Threads

  1. Pagerank plays hard to get on my site?
    By dutchbb in forum General Discussion
    Replies: 8
    Last Post: 04-15-2006, 02:38 PM
  2. whoa, tons of errors
    By mindhunter77 in forum Troubleshooting
    Replies: 5
    Last Post: 03-10-2006, 03:39 AM
  3. Compression Error
    By Lazer in forum Troubleshooting
    Replies: 19
    Last Post: 03-03-2006, 01:23 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
  •