Page 1 of 2 1 2 LastLast
Results 1 to 15 of 16

Custom Showpost URL Format Not Parsed in SM 1.7

This is a discussion on Custom Showpost URL Format Not Parsed in SM 1.7 within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; I put this custom 'Showpost' URL Format in the vBSEO config and it is not parsed in Sitemaps 1.7. Code: ...

  1. #1
    Member
    Join Date
    Nov 2005
    Posts
    84
    Liked
    0 times

    Custom Showpost URL Format Not Parsed in SM 1.7

    I put this custom 'Showpost' URL Format in the vBSEO config and it is not parsed in Sitemaps 1.7.

    Code:
    f[forum_id]/post[post_id]-[post_count].html
    SM output in Yahoo! urllist...
    Code:
    http://www.riderinfo.com/forums/f%forum_id%/post7412-9.html
    http://www.riderinfo.com/forums/showpost.php?p=7412&postcount=10
    It parses fine in showthread however.

    Advise please.
    Check out vBPicGallery the Photo Gallery for vBulletin.
    Talk about motorcycles with bikers around the world.

  2. #2
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    [forum_id] shouldn't be used in your showpost format. Not sure why it's working on showthread though.

    Just use: post[post_id]-[post_count].html

  3. #3
    Member
    Join Date
    Nov 2005
    Posts
    84
    Liked
    0 times
    I followed suit of here and figured it would and should work.

    The URLs in the sitemaps for this site are broken in the sitemaps too. So, I gotta ask, will you fix this so we can use it, or stop using the URL here too?
    Check out vBPicGallery the Photo Gallery for vBulletin.
    Talk about motorcycles with bikers around the world.

  4. #4
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    The showpost links here on vbseo.com are replaced with the PermaLink, so I'm not sure I follow?

    Example: Custom Showpost URL Format Not Parsed in SM 1.7

  5. #5
    Senior Member BamaStangGuy's Avatar
    Real Name
    Brent Wilson
    Join Date
    Aug 2005
    Location
    Huntsville, Alabama
    Posts
    2,484
    Liked
    1 times
    Basically VBSEO does not put showpost urls in the sitemap generator since they use permalinks

  6. #6
    Member
    Join Date
    Nov 2005
    Posts
    84
    Liked
    0 times
    Well, they were there before and now they are gone. I checked before I made this post. They were as broken as mine were in sitemaps.

    It appears that someone changed it.

    Oh well, the point is moot now I guess.

    But The link example above has the forumID in it. That's that way I want it and it works on the forum and not in sitemaps. :/
    Check out vBPicGallery the Photo Gallery for vBulletin.
    Talk about motorcycles with bikers around the world.

  7. #7
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    The link example above is because vbseo.com has the PermaLink option set to replace the post number link. (Check the LinkBacks section of your vbSEO CP.) It's not done with a showpost URL format change.

  8. #8
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    Here's how it looks using the default URL format, with that option turned on. Check the post number links here:

    Need pics of your frame plugs. - CBRXX.com

  9. #9
    Member
    Join Date
    Nov 2005
    Posts
    84
    Liked
    0 times
    Here is another bug is stiemaps.

    Code:
    http://www.riderinfo.com/forums/f36/replacement-carb-76-xlch-1367/
    http://www.riderinfo.com/forums/showthread.php?t=1367
    http://www.riderinfo.com/forums/post5408-1.html
    http://www.riderinfo.com/forums/showpost.php?p=5408&postcount=2
    http://www.riderinfo.com/forums/post5413-3.html
    http://www.riderinfo.com/forums/showpost.php?p=5413&postcount=4
    http://www.riderinfo.com/forums/post6415-5.html
    http://www.riderinfo.com/forums/showpost.php?p=6415&postcount=6
    http://www.riderinfo.com/forums/post6417-7.html
    http://www.riderinfo.com/forums/showpost.php?p=6417&postcount=8
    http://www.riderinfo.com/forums/post6423-9.html
    http://www.riderinfo.com/forums/showpost.php?p=6423&postcount=10
    Notice that the URLs for vBSEO urls only show the Odd post numbers and the original PHP URLs show only the even numbers?
    Check out vBPicGallery the Photo Gallery for vBulletin.
    Talk about motorcycles with bikers around the world.

  10. #10
    Member
    Join Date
    Nov 2005
    Posts
    84
    Liked
    0 times
    Quote Originally Posted by Keith Cohen View Post
    Here's how it looks using the default URL format, with that option turned on. Check the post number links here:

    Need pics of your frame plugs. - CBRXX.com
    Yeah, I see the difference in the Permalink and the post link now. I don't like it however the way it is applied to sitemaps at all. It makes two links for the same post. I thought the whole point was to eliminate that?

    See my post above as well please showing the counting error.

    Thanks
    Check out vBPicGallery the Photo Gallery for vBulletin.
    Talk about motorcycles with bikers around the world.

  11. #11
    Member
    Join Date
    Nov 2005
    Posts
    84
    Liked
    0 times
    OK, I see how to get rid of the duplicate urls. That is solved, but the sitemaps Odd even issue needs to be looked at.

    Thanks
    Check out vBPicGallery the Photo Gallery for vBulletin.
    Talk about motorcycles with bikers around the world.

  12. #12
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    You must have had the option on to include the standard URLs also?

  13. #13
    Member
    Join Date
    Nov 2005
    Posts
    84
    Liked
    0 times
    Quote Originally Posted by noppid View Post
    OK, I see how to get rid of the duplicate urls. That is solved, but the sitemaps Odd even issue needs to be looked at.

    Thanks
    This problem only exists when using sitemaps for both old urls and vBSEO urls.
    Check out vBPicGallery the Photo Gallery for vBulletin.
    Talk about motorcycles with bikers around the world.

  14. #14
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Notice that the URLs for vBSEO urls only show the Odd post numbers and the original PHP URLs show only the even numbers?
    Thank you for reporting, this happen when both SEOed and original showpost URLs are included in sitemap. This will be fixed in the next vBSEO Sitemap Generator build.
    You can fix this by modifying vbseo_sitemap_functions.php file.
    FIND:
    PHP Code:
    vbseo_url_post($threadrow$postrow, ++$pcounttrue), 
    REPLACE WITH:
    PHP Code:
    vbseo_url_post($threadrow$postrow$pcounttrue), 

  15. #15
    Member
    Join Date
    Nov 2005
    Posts
    84
    Liked
    0 times
    Thanks for the fix!

    I'm pretty well all set now.
    Check out vBPicGallery the Photo Gallery for vBulletin.
    Talk about motorcycles with bikers around the world.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Syntax for Custom Rewrite Rules
    By Joe Ward in forum Custom Rewrite Rules
    Replies: 33
    Last Post: 02-10-2011, 08:49 PM
  2. vBSEO 2.0 RC7 Released
    By Juan Muriente in forum vBSEO Announcements
    Replies: 17
    Last Post: 09-08-2005, 11:00 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
  •