Results 1 to 14 of 14

Sitemap URL doesn't work

This is a discussion on Sitemap URL doesn't work within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; Hello. My sitemap links don't work :( Link example: http://www.forum.simple-nlp.pl/sitemap_index.xml.gz I already checked .htaccess and there everything is ok. It ...

  1. #1
    Senior Member NLP-er's Avatar
    Real Name
    Michal Podbielski
    Join Date
    Aug 2008
    Location
    Poland
    Posts
    115
    Liked
    0 times

    Sitemap URL doesn't work

    Hello.

    My sitemap links don't work :(
    Link example:
    http://www.forum.simple-nlp.pl/sitemap_index.xml.gz

    I already checked .htaccess and there everything is ok. It means I have there:
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

    I even chceked URL to which it should be rewritten:
    http://www.forum.simple-nlp.pl/vbseo...p_index.xml.gz

    and it works.

    What is wrong? I want google see my sitemaps

    I'm working on
    vb 3.7.2
    vb seo 3.2.0
    vbseo sitemap 2.2

  2. #2
    Senior Member NLP-er's Avatar
    Real Name
    Michal Podbielski
    Join Date
    Aug 2008
    Location
    Poland
    Posts
    115
    Liked
    0 times
    I have some clue, but still don't know how to fix it.

    I changed:
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

    To:
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ http://www.forum.simple-nlp.pl/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

    Now are working links without 'www'
    so it's ok:
    http://forum.simple-nlp.pl/sitemap_1.xml.gz

    But are wrong:
    http://www.forum.simple-nlp.pl/urllist.txt.gz
    http://www.forum.simple-nlp.pl/sitemap_index.xml.gz

    Unfortunatellu vbseo sitemap generates link to sitemap_index with 'www' so google doesn't see it :/

    Still need help...

  3. #3
    Senior Member NLP-er's Avatar
    Real Name
    Michal Podbielski
    Join Date
    Aug 2008
    Location
    Poland
    Posts
    115
    Liked
    0 times
    Ok I already found a solution. Ewerything what was needed its add of 301 option to redirection rule:
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L,R=301]

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    You should not add R=301 in that line, please change this line:
    Code:
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
    to:
    Code:
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron|vbseo_sitemap)
    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 NLP-er's Avatar
    Real Name
    Michal Podbielski
    Join Date
    Aug 2008
    Location
    Poland
    Posts
    115
    Liked
    0 times
    But it works right now - what's the difference??

  6. #6
    Senior Member NLP-er's Avatar
    Real Name
    Michal Podbielski
    Join Date
    Aug 2008
    Location
    Poland
    Posts
    115
    Liked
    0 times
    And 2 more things:

    1. I don't have line:
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)

    But:
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)

    2. Your solution does'n work.

    Maybe I will show You my whole .htaccess file. Large block of rewriting is bacaouse of my previous links, which I already have propagated in som presell pages.

    My .htaccess file:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On

    RewriteRule ^piaskownica.html Piaskownica - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^piaskownica/informacje.html Informacje - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^piaskownica/filmy_nlp_era.html Filmy NLP-era - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^piaskownica/pomysly_sugestie.html Pomys?y, sugestie - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]

    RewriteRule ^poligon_nlp_era.html Poligon NLP-era - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^poligon_nlp_era/o_nlp.html O NLP - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^poligon_nlp_era/o_nlp/literatura.html Literatura - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^poligon_nlp_era/biznes.html Biznes - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^poligon_nlp_era/biznes/reklama.html Reklama - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^poligon_nlp_era/edukacja.html Edukacja - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^poligon_nlp_era/ludzie_i_spoleczenstwo.html Ludzie i Spo?ecze?stwo - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^poligon_nlp_era/ludzie_i_spoleczenstwo/zwiazki_i_rodzina.html Zwi?zki i Rodzina - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^poligon_nlp_era/ludzie_i_spoleczenstwo/cholerne_madrosci_ludowe.html Cholerne m?dro?ci ludowe - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^poligon_nlp_era/ludzie_i_spoleczenstwo/stereotypy.html Stereotypy - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^poligon_nlp_era/ludzie_i_spoleczenstwo/przekonania_ograniczajace.html Przekonania ograniczaj?ce - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^poligon_nlp_era/hipnoza.html Hipnoza - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^poligon_nlp_era/hipnoza/zdrowie.html Zdrowie a hipnoza - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^poligon_nlp_era/owion.html OWION - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]

    RewriteRule ^podworko_praktyka.html Podwórko Praktyka - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^podworko_praktyka/kotwice.html Kotwice - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^podworko_praktyka/magia_slow.html Magia s?ów - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^podworko_praktyka/magia_slow/systemy_reprezentacji.html Systemy reprezentacji - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^podworko_praktyka/submodalnosci.html Submodalno?ci - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^podworko_praktyka/rapport.html Rapport - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^podworko_praktyka/meta_model.html Meta Model - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^podworko_praktyka/time_line.html Time Line - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]

    RewriteRule ^warsztat_mistrza.html Warsztat mistrza - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^warsztat_mistrza/techniki_w_transie.html Techniki w transie - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^warsztat_mistrza/meta_programy.html Meta Programy - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^warsztat_mistrza/matryce.html Matryce - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^warsztat_mistrza/sleight_of_mouth.html Sleight of Mouth - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^warsztat_mistrza/advanced_time_line.html Advanced Time Line - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^warsztat_mistrza/wartosci.html Warto?ci - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]

    RewriteRule ^scena_trenera.html Scena Trenera - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^scena_trenera/metafory_i_porownania.html Metafory i porównania - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^scena_trenera/nested_loops.html Nested Loops - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^scena_trenera/z_podrecznika_instruktora.html Z podr?cznika instruktora - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^scena_trenera/z_podrecznika_instruktora/unikaj_jak_ognia.html Unikaj jak ognia - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]
    RewriteRule ^scena_trenera/moje_boje.html Moje boje... - SIMPLE-NLP.pl darmowe forum o NLP [L,R=301]


    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase /

    RewriteCond %{HTTP_HOST} !^www\.forum\.simple-nlp\.pl
    RewriteRule (.*) http://www\.forum\.simple-nlp\.pl/$1 [L,R=301]

    #RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L,R=301]

    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
    RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]

  7. #7
    Senior Member Shadab's Avatar
    Real Name
    Shadab
    Join Date
    Oct 2007
    Location
    Bhopal
    Posts
    821
    Liked
    0 times
    Blog Entries
    12
    Tip :

    In your future posts, Use the CODE bbCode around your codes, like :
    [code] your .htaccess codes here [/code]
    Looks much better this way.

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    But it works right now - what's the difference??
    The difference is that with R=301 it *redirects* the URL instead of rewriting it.

    Please use this rewrite condition line:
    Code:
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    Also, what exactly is the error you get when trying to open 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 NLP-er's Avatar
    Real Name
    Michal Podbielski
    Join Date
    Aug 2008
    Location
    Poland
    Posts
    115
    Liked
    0 times
    Quote Originally Posted by Shadab View Post
    Tip :

    In your future posts, Use the CODE bbCode around your codes, like :
    [code] your .htaccess codes here [/code]
    Looks much better this way.
    Thanks for advice

  10. #10
    Senior Member NLP-er's Avatar
    Real Name
    Michal Podbielski
    Join Date
    Aug 2008
    Location
    Poland
    Posts
    115
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    The difference is that with R=301 it *redirects* the URL instead of rewriting it.
    I know... and so what - it works and I need working solution.

    Quote Originally Posted by Oleg Ignatiuk View Post
    Please use this rewrite condition line:
    Code:
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    Also, what exactly is the error you get when trying to open sitemap?
    Ok - I already wrote that it doesn't work. Please wrote me the line fomr my file which should be precede by Your line code.

    Quote Originally Posted by Oleg Ignatiuk View Post
    Also, what exactly is the error you get when trying to open sitemap?
    Page not found

  11. #11
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    I know... and so what - it works and I need working solution.
    Did you submit sitemap to Google and got no errors?
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  12. #12
    Senior Member NLP-er's Avatar
    Real Name
    Michal Podbielski
    Join Date
    Aug 2008
    Location
    Poland
    Posts
    115
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Did you submit sitemap to Google and got no errors?
    Exactly

    Some data from tools from webmasters:
    File name: sitemap_index.xml.gz
    State: OK
    number of URLs: 1559

    a You can see google see my index and is able to go to other sitemaps and read it

  13. #13
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Ok then
    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
    Junior Member
    Real Name
    Aaron Hall
    Join Date
    Sep 2008
    Posts
    4
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    You should not add R=301 in that line, please change this line:
    Code:
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
    to:
    Code:
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron|vbseo_sitemap)
    Thanks. That fixed my problem.

Similar Threads

  1. sitemap generator does not work
    By MIR in forum Troubleshooting
    Replies: 2
    Last Post: 05-10-2008, 03:37 PM
  2. My Google sitemap doesn't work
    By gosatellite in forum Troubleshooting
    Replies: 15
    Last Post: 04-09-2008, 04:04 PM
  3. Sitemap generator doesn't work
    By Snake in forum Troubleshooting
    Replies: 7
    Last Post: 03-04-2008, 05:18 PM
  4. vBSEO Sitemap Doesn't Work
    By O'NEAL in forum General Discussion
    Replies: 2
    Last Post: 05-29-2007, 06:36 AM
  5. How does the Old url feature of the sitemap work?
    By BamaStangGuy in forum General Discussion
    Replies: 2
    Last Post: 06-04-2006, 07:47 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
  •