Results 1 to 3 of 3

Don't include pagination into sitemaps

This is a discussion on Don't include pagination into sitemaps within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; Hello, everybody. There is a way to include into the sitemaps only the first page of every thread instead the ...

  1. #1
    Junior Member
    Real Name
    Steve
    Join Date
    Jul 2007
    Posts
    24
    Liked
    1 times

    Don't include pagination into sitemaps

    Hello, everybody.

    There is a way to include into the sitemaps only the first page of every thread instead the whole pagination?

    Code:
    thread-page1
    thread-page2
    thread-page3
    thread-page4
    thread-page5
    thank you!

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

    vBSEO Sitemap Generator doesn't have a special option for that, but you can modify vbseo_sitemap_functions.php file:
    FIND:
    PHP Code:
    for($p=1$p<=$totalpages$p++) 
    REPLACE WITH:
    PHP Code:
    for($p=1$p<=1$p++) 

  3. #3
    Junior Member
    Real Name
    Steve
    Join Date
    Jul 2007
    Posts
    24
    Liked
    1 times

    Wink

    Thank you so much, Oleg!

Similar Threads

  1. What not to include in Sitemap (and what to include in Robots.txt)
    By Marvin Hlavac in forum General Discussion
    Replies: 2
    Last Post: 03-21-2008, 10:35 AM

Posting Permissions

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