+ Reply to Thread
Results 1 to 6 of 6

Thread: sitemap error bug report

  1. #1
    Junior Member
    Join Date
    Nov 2016
    Posts
    11

    sitemap error bug report

    when i check sitemap urls i noticed
    domain.com ...//motors/fiat/500.html
    urls comes with double //
    how or when can we fix this?

  2. #2
    Junior Member
    Join Date
    Nov 2016
    Posts
    11
    Also after 50.000 urls what will happen to sitemap according to standarts it cant be over 50.000 urls in one sitemap file, will flynax system develop extra sitemaps for those over 50.000

  3. #3
    Junior Member
    Join Date
    May 2016
    Posts
    29
    in google/yahoo sitemap plugin there is this sitemaps address


    domain.com/sitemap.xml
    domain.com/sitemap1.xml
    domain.com/sitemap2.xml
    domain.com/sitemap3.xml
    ...

  4. #4
    Senior Member
    Join Date
    Nov 2016
    Location
    USA
    Posts
    110
    i had also the problem of double "//" in my urls but somone from support fixed it for me.

  5. #5
    Junior Member
    Join Date
    Nov 2016
    Posts
    11
    Quote Originally Posted by Amir Zenhari View Post
    in google/yahoo sitemap plugin there is this sitemaps address


    domain.com/sitemap.xml
    domain.com/sitemap1.xml
    domain.com/sitemap2.xml
    domain.com/sitemap3.xml
    thank you now i see + rep points goes to you!

    Quote Originally Posted by Samir Fakirane View Post
    i had also the problem of double "//" in my urls but somone from support fixed it for me.
    Ok i'll ask for it thanks + rep delivered

  6. #6
    Junior Member
    Join Date
    Nov 2016
    Posts
    10
    I had the same error and this is my solution:
    1.find /plugins/sitemap/rlSitemap.class.php
    2. in this file find and comment string (~1103): $url = $GLOBALS['config']['lang'] != $lang ? str_replace("[lang]", $lang, $url) : str_replace( "[lang]/", '', $url);
    3. after this string add the next code
    if ($GLOBALS['config']['lang'] <> $lang) {
    $url = str_replace('[lang]', $lang, $url);
    $url = str_replace( '//', '/', $url);
    $url = str_replace( ':/', '://', $url);

    }
    else {
    $url = str_replace( '[lang]/', '', $url);
    $url = str_replace( '//', '/', $url);
    $url = str_replace( ':/', '://', $url);
    }
    Last edited by Noam Peer; January 9, 2017 at 10:43 AM.

+ Reply to Thread