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

Adding some additional urls to my sitemap.

This is a discussion on Adding some additional urls to my sitemap. within the Sitemap Features Archive forums, part of the vBulletin Links & Resources category; I want to add some additional urls to my sitemap just for all showthread pages. So currently i have www.domain.com/forums/f10/topic/ ...

  1. #1
    Senior Member Dave Hybrid's Avatar
    Real Name
    Dave Hybrid
    Join Date
    Mar 2007
    Location
    UK
    Posts
    400
    Liked
    8 times

    Adding some additional urls to my sitemap.

    I want to add some additional urls to my sitemap just for all showthread pages.

    So currently i have www.domain.com/forums/f10/topic/

    I want to add www.domain.com/forums/f10/topic/?hl=de

    www.domain.com/forums/f10/topic/?hl=es

    etc. for 28 additional languages.

    How hard is this to do, would this be done via an add-on?

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,362
    Liked
    541 times
    Blog Entries
    4
    You can duplicate vBSEO Sitemap Generator code or ask a developer to handle this. I personally don't think that this is a necessary feature for vBSEO Sitemap Generator as usage will be too low.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Senior Member Dave Hybrid's Avatar
    Real Name
    Dave Hybrid
    Join Date
    Mar 2007
    Location
    UK
    Posts
    400
    Liked
    8 times
    So I can duplicate the code, and save it and add it as an add-on...

    Sorry, this wasn't meant to be in this forum, i agree i am a specific case.

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello Dave,

    you can modify vbseo_sitemap_functions.php file for that.
    FIND:
    PHP Code:
    $vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls
    add above:
    PHP Code:
    $alanguages = array('de''nl', ... etc);
    if(!
    $archived)
    foreach(
    $alanguages as $hl) {
    $vbseo_stat['t']++; 
    vbseo_add_url(vbseo_url_thread($threadrow$p$archived).'?hl='.$hl$prior$threadrow['lastpost'], $freq);

    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  5. #5
    Senior Member Dave Hybrid's Avatar
    Real Name
    Dave Hybrid
    Join Date
    Mar 2007
    Location
    UK
    Posts
    400
    Liked
    8 times
    Looks great, thank you. So this will add them to just showthread pages. As far as I can tell thats correct, just want to be sure.

    Also i never got the email and the new sitemap doesn't show in my stats yet, is this due to it's size?

    500,000 pages.

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Looks great, thank you. So this will add them to just showthread pages. As far as I can tell thats correct, just want to be sure.
    Yes, correct.
    Also i never got the email and the new sitemap doesn't show in my stats yet, is this due to it's size?
    Did you try to manually regenerate it in vbseo_sitemap/ interface?
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  7. #7
    Senior Member Dave Hybrid's Avatar
    Real Name
    Dave Hybrid
    Join Date
    Mar 2007
    Location
    UK
    Posts
    400
    Liked
    8 times
    Yes, that's where I generated it, the last generation shows as midnight last night etc. all stats show that the last run didnt exist, no email.

    Yest I can access the sitemap files and see the new urls.

    Thanks.

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    What were the last lines of output in browser when you created sitemap?
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  9. #9
    Senior Member Dave Hybrid's Avatar
    Real Name
    Dave Hybrid
    Join Date
    Mar 2007
    Location
    UK
    Posts
    400
    Liked
    8 times
    Im not sure it completed, the screen has been closed since.

    A fresh run results in this.

    Code:
    [SECTION START] tags [1,690.6Kb mem used] [2,395s (+555s)]
    [create sitemap file] filename: sitemap_13.xml.gz, number of urls: 7095 [1,705.1Kb mem used] [2,402s (+6s)]
    [create sitemap in text format] part #14 [1,705.1Kb mem used] [2,402s (+0s)]
    [create sitemap index] filename: sitemap_index.xml.gz, number of sitemaps: 13 [1,707.4Kb mem used] [2,402s (+0s)]

  10. #10
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Please try to remove all files from data/ folder and recreate sitemap again. Also, I'd recommend to disable Text sitemap option, since Yahoo now supports xml sitemaps.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  11. #11
    Senior Member Dave Hybrid's Avatar
    Real Name
    Dave Hybrid
    Join Date
    Mar 2007
    Location
    UK
    Posts
    400
    Liked
    8 times
    edit*

    It's working, yay, except in the email log the numbers sugest tag translate urls are also being added.

  12. #12
    Senior Member Dave Hybrid's Avatar
    Real Name
    Dave Hybrid
    Join Date
    Mar 2007
    Location
    UK
    Posts
    400
    Liked
    8 times
    lol, edit no 3, seems to have fixed itself, latest log is normal +translated showthread urls.

    Thanks you for your help.

  13. #13
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Great!
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  14. #14
    Member
    Real Name
    partyon
    Join Date
    Jul 2008
    Posts
    76
    Liked
    0 times
    Just want to ask something about the same thing more or less, how can I change this to work with forumdisplay URL's?

    Thank you

  15. #15
    Member
    Real Name
    Sebastian N.
    Join Date
    Apr 2009
    Posts
    37
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Hello Dave,

    you can modify vbseo_sitemap_functions.php file for that.
    FIND:
    PHP Code:
    $vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls
    add above:
    PHP Code:
    $alanguages = array('ar''bg''zh-CN''zh-TW''hr''cs''da''nl''fi''fr''de''el''iw''hu''it''ja''ko''no''pl''pt''ro''ru''sr''sk''es''sv''th''tr');
    if(!
    $archived)
    foreach(
    $alanguages as $hl) {
    $vbseo_stat['t']++; 
    vbseo_add_url(vbseo_url_thread($threadrow$p$archived).'?hl='.$hl$prior$threadrow['lastpost'], $freq);

    I have added all languages EXCEPT en! If you have forum in other language put en back and take out your own language.
    It does not make sense for all to compile the same list.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Manually adding urls to sitemap for translated pages
    By Dave Hybrid in forum General Discussion
    Replies: 18
    Last Post: 07-31-2009, 12:44 PM
  2. Error adding sitemap
    By DADOCTOR in forum Troubleshooting
    Replies: 10
    Last Post: 10-09-2008, 04:50 AM
  3. Adding other URLs to sitemap?
    By spanishrealestateforum in forum Troubleshooting
    Replies: 2
    Last Post: 12-04-2007, 05:41 AM
  4. Adding Sitemap to google
    By GBSF in forum Troubleshooting
    Replies: 2
    Last Post: 09-25-2006, 05:02 PM
  5. Adding VBSEO settings to DB (additional)
    By Future in forum vBSEO Features Archive
    Replies: 3
    Last Post: 09-10-2006, 03: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
  •