vBulletin 4, the most powerful community software + vBSEO 3.5, the ultimate SEO solution = Your ultimate platform for 2010 and beyond. Click below to learn more.

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
    372

    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?
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul
    Posts
    16,959
    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.

    Yeni vBSEO Kontrol Paneli ve vBSEO 3.5 Yayın Tarihleri

    vBSEO 3.5 Beta 2 Yayınlandı - vBulletin 4 Uyumlu!



    Kişisel Sitem : Felsefe - Kültür merkeziniz
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  3. #3
    Senior Member Dave Hybrid's Avatar
    Real Name
    Dave Hybrid
    Join Date
    Mar 2007
    Location
    UK
    Posts
    372
    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.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,554
    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.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation

    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  5. #5
    Senior Member Dave Hybrid's Avatar
    Real Name
    Dave Hybrid
    Join Date
    Mar 2007
    Location
    UK
    Posts
    372
    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.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,554
    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.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation

    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  7. #7
    Senior Member Dave Hybrid's Avatar
    Real Name
    Dave Hybrid
    Join Date
    Mar 2007
    Location
    UK
    Posts
    372
    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.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,554
    What were the last lines of output in browser when you created sitemap?
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation

    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  9. #9
    Senior Member Dave Hybrid's Avatar
    Real Name
    Dave Hybrid
    Join Date
    Mar 2007
    Location
    UK
    Posts
    372
    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)]
    
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  10. #10
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,554
    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.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation

    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

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

    It's working, yay, except in the email log the numbers sugest tag translate urls are also being added.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

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

    Thanks you for your help.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  13. #13
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,554
    Great!
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation

    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  14. #14
    Member
    Real Name
    partyon
    Join Date
    Jul 2008
    Posts
    66
    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
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  15. #15
    Junior Member
    Real Name
    Sebastian N.
    Join Date
    Apr 2009
    Posts
    18
    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.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

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, 11:44 AM
  2. Error adding sitemap
    By DADOCTOR in forum Troubleshooting
    Replies: 10
    Last Post: 10-09-2008, 03:50 AM
  3. Adding other URLs to sitemap?
    By spanishrealestateforum in forum Troubleshooting
    Replies: 2
    Last Post: 12-04-2007, 04:41 AM
  4. Adding Sitemap to google
    By GBSF in forum Troubleshooting
    Replies: 2
    Last Post: 09-25-2006, 04:02 PM
  5. Adding VBSEO settings to DB (additional)
    By Future in forum vBSEO Features Archive
    Replies: 3
    Last Post: 09-10-2006, 02:32 PM