Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 46

Thread: Sitemap Generator integration

  1. #21
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quote Originally Posted by CThiessen View Post
    Text automatically translated from: German to: English
    Translated text
    Hello,
    I do not use the generator Sidemap for translated pages.
    I would want to have to focus on my own language.
    But in one of the RSS feed from several other languages in Webmaster Tools.
    There, the links are already compiled.

    Google has as always the latest links and to continue working well independently.

    Greeting
    Christian
    Original text
    Thanks for your info. As I understand you just shared with your experience, or you need some support here?

  2. #22

    Default

    Quote Originally Posted by basketmen View Post
    i think only need the second code, because all forum have more than 1 thread pages, and i believe 99% people want as much as possible they links in the sitemap so get more traffic



    so we just only need do this, For SEO links?



    Find:
    PHP Code:
    $vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls
    And place BEFORE it...

    For SEO links
    PHP Code:
    //additional code
    $alanguages = array ('af','sq','ar','be','bg','ca','zh-CN','hr','cs','da','nl','en','pl','et','tl','fi','fr','gl','de','el','iw','hi','hu','is','id','ga','it','ja','ko','lv','lt','mk','ms','mt','no','fa','pt','ro','ru','sr','sk','sl','es','sw','sv','zh-TW','th','tr','uk','vi','cy','yi');
    if(!
    $archived) {
    -     
    $strlenhost strlen($vbseo_vars['bburl']."/");
    $currentthreadurl vbseo_url_thread($threadrow$p$archived);
    $currentthreadurl_before substr($currentthreadurl,0,$strlenhost);
    $currentthreadurl_after "/".substr($currentthreadurl,$strlenhost);
    $lastpost =& $threadrow['lastpost'];
    $vbseo_stat['t'] += sizeof($alanguages);
    foreach(
    $alanguages as $language) {
    vbseo_add_url($currentthreadurl_before.$language.$currentthreadurl_after$prior$lastpost$freq);
    }
    }
    //end additional code 
    NOTE: REMOVE YOUR DEFAULT LANGUAGE CODE from $alanguages
    Also if you disabled some languages in option panel you have to delete its codes too.
    Michał i am sorry, i realize this code only adding other languages for showthread pages in sitemap, do you know where (place after or before what) to add other pages too like forumdisplay, archives and others?

    because those 2 pages are the most important to make google easier to indexing the thread lists, at least its should be including integration forumdisplay and archive pages too in sitemap
    Last edited by basketmen; 02-10-10 at 22:46.

  3. #23
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quote Originally Posted by basketmen View Post
    Michał i am sorry, i realize this code only adding other languages for showthread pages in sitemap, do you know where (place after or before what) to add other pages too like forumdisplay, archives and others?

    because those 2 pages are the most important to make google easier to indexing the thread lists, at least its should be including integration forumdisplay and archive pages too in sitemap
    At this moment we have tested code only to integrate thread pages, which we considered as most important. Please note that Google will index all your pages anyway (even if you do not made sitemap integration at all), because robots crawls by all links on your pages and you have included flags with links to translated pages. Of course including links into sitemap can make indexing faster. That is why we published threads links integration - threads changes fast so faster crawling can be useful.

  4. #24

    Default

    Quote Originally Posted by vBET View Post
    At this moment we have tested code only to integrate thread pages, which we considered as most important. Please note that Google will index all your pages anyway (even if you do not made sitemap integration at all), because robots crawls by all links on your pages and you have included flags with links to translated pages. Of course including links into sitemap can make indexing faster. That is why we published threads links integration - threads changes fast so faster crawling can be useful.
    ok, let us know too if you know where to add the additional code for forumdisplay and archives pages

  5. #25
    Junior Member
    Join Date
    Sep 2010
    Posts
    8

    Default

    When I add the code from the first post in the sitemap file, I get the following error during sitemap generation

    Fatal error: Call to undefined function vbet_vbseo_filter_replace_text() in /home/thespain/public_html/vbseo/includes/functions_vbseo_createurl.php on line 47
    Running Vbet 3.3.6 and vbseo 3.5.2 on a 3.8.1 forum

  6. #26
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    vBET includes required file in init_startup hook:
    Code:
    if ('VBSEO_URI' == $vbulletin->options['vbenterprisetranslator_linkstype']) {
    require_once(DIR. '/includes/vbenterprisetranslator_functions_vbseo.php');
    }
    It seems that it is not included in your case by some reason. In such case please put only the line with reqiure_once in changed file of sitemap generator. Put it before additional code of vBET. Please note that it was not tested - so it is wise to make copy of file before changes.

  7. #27
    Junior Member
    Join Date
    Sep 2010
    Posts
    8

    Default

    Cheers for hat Micheal, it was more human error on my part
    I googled the error and found it was a bit I over looked on the settings

    I never changed the link type to VBSEO_URI

    If you made that a drop down options, idiots like me would not overlook it

    Through past experience I know to set the generation time on the sitemap to have a nice delay between sitemap pages. Mines set to something 15 second delay.

    But Im happy with the total pages on ten languages

    Forum Display: 2904
    Show Thread: 1817821

    Total Indexed URLs: 1823149
    Total Processing Time: 1,682.58 seconds

  8. #28
    Senior Member
    Join Date
    Feb 2010
    Posts
    210

    Default

    Is this code working with sitemap 2.6 ? Thanks.

  9. #29
    Senior Member
    Join Date
    Sep 2010
    Posts
    256

    Default

    Snake where did you find sitemap generator 2.6?, i have 2.5 and it works with that.

  10. #30
    Senior Member
    Join Date
    Feb 2010
    Posts
    210

    Default

    Since you changed the code, it doesnt work properly.

    The numbers dont add up.

    Forum Display: 327
    Show Thread: 886054
    Show Post:
    Member Profiles:
    Poll Results:
    Blog Entries:
    Blog Tags:
    Album URLs:
    Social Groups URLs:
    Tag URLs:
    Archive: 169

    Total Indexed URLs: 837931

Page 3 of 5 FirstFirst 12345 LastLast

Tags for this Thread

Posting Permissions

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