Results 1 to 12 of 12

Invalid URLs in the sitemap!

This is a discussion on Invalid URLs in the sitemap! within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; Google shows me warnings when I access my webmaster tools. he says that my sitemap contains invalid URLs in the ...

  1. #1
    Member
    Real Name
    Milad
    Join Date
    Feb 2006
    Posts
    70
    Liked
    0 times

    Invalid URLs in the sitemap!

    Google shows me warnings when I access my webmaster tools. he says that my sitemap contains invalid URLs in the sitemap!

    I check it and find that all URLs to forums are invalid.
    This is a quote from it:
    Code:
    <url>
      <loc>/http://www.syrianmeds.net/histopathology-f39.html</loc>
      <priority>0.8</priority>
      <lastmod>2008-03-17T16:42:58+00:00</lastmod>
      <changefreq>always</changefreq>
    </url>
    Why does this error occur?

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Hello,

    what is the sitemap URL you submit and what exactly is the error message (including line number where error was found)?

  3. #3
    Member
    Real Name
    Milad
    Join Date
    Feb 2006
    Posts
    70
    Liked
    0 times
    Sitemap URL http://www.syrianmeds.net/sitemap_1.xml.gz

    There are many errors, see the attachment
    Attached Thumbnails Attached Thumbnails sitemap_errors.jpg  

  4. #4
    Member
    Real Name
    Milad
    Join Date
    Feb 2006
    Posts
    70
    Liked
    0 times
    this is the error:

    /http://www.syrianmeds.net/histopathology-f39.html

  5. #5
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    You should be submitting: http://www.syrianmeds.net/sitemap_index.xml.gz

    (But that isn't the cause of your issue. )

  6. #6
    Member
    Real Name
    Milad
    Join Date
    Feb 2006
    Posts
    70
    Liked
    0 times
    Quote Originally Posted by Keith Cohen View Post
    You should be submitting: http://www.syrianmeds.net/sitemap_index.xml.gz

    (But that isn't the cause of your issue. )
    This file contains errors:
    It points to bad location:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <sitemapindex
          xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="
                http://www.sitemaps.org/schemas/sitemap/0.9
                http://www.sitemaps.org/schemas/sitemap/09/siteindex.xsd">
    <sitemap>
        <loc>http://www.syrianmeds.net/forum/sitemap_1.xml.gz</loc>
        <lastmod>2008-03-20T02:02:28+00:00</lastmod>
    </sitemap>
    
    </sitemapindex>
    Anyway, I have one sitemap file. there is no damage from ignoring this file.

  7. #7
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    What is your forumdisplay URL format?

  8. #8
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    In your vBSEO Sitemap Options in AdminCP, do you have a URL defined for "Sitemap Files URL"? Make sure it's correct.

    Quote Originally Posted by Milad View Post
    This file contains errors:
    It points to bad location:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <sitemapindex
          xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="
                http://www.sitemaps.org/schemas/sitemap/0.9
                http://www.sitemaps.org/schemas/sitemap/09/siteindex.xsd">
    <sitemap>
        <loc>http://www.syrianmeds.net/forum/sitemap_1.xml.gz</loc>
        <lastmod>2008-03-20T02:02:28+00:00</lastmod>
    </sitemap>
     
    </sitemapindex>
    Anyway, I have one sitemap file. there is no damage from ignoring this file.

  9. #9
    Member
    Real Name
    Milad
    Join Date
    Feb 2006
    Posts
    70
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    What is your forumdisplay URL format?
    You can locate the forum itself here, http://www.syrianmeds.net/forum/
    Forumdisplay has the following formats:
    http://www.syrianmeds.net/[forum_title]-f[forum_id].html
    http://www.syrianmeds.net/[forum_title]-f[forum_id]-p[forum_page].html

  10. #10
    Member
    Real Name
    Milad
    Join Date
    Feb 2006
    Posts
    70
    Liked
    0 times
    Quote Originally Posted by Keith Cohen View Post
    In your vBSEO Sitemap Options in AdminCP, do you have a URL defined for "Sitemap Files URL"? Make sure it's correct.
    Thanks, sitemap index has been resolved!

  11. #11
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Hello,

    please modify vbseo_sitemap_functions.php file:
    FIND:
    PHP Code:
    $url '/'. ($is_vbseo vbseo_forum_url($forum_id$page) : 
    REPLACE WITH:
    PHP Code:
    $url = ($is_vbseo vbseo_forum_url($forum_id$page) : 
    and regenerate sitemap.

  12. #12
    Member
    Real Name
    Milad
    Join Date
    Feb 2006
    Posts
    70
    Liked
    0 times
    Thanks, it works! Best regards

Similar Threads

  1. Replies: 3
    Last Post: 01-21-2008, 08:36 AM
  2. Latest Sitemap Generator creating Invalid GZ files
    By Hemanth in forum Troubleshooting
    Replies: 4
    Last Post: 12-12-2007, 11:51 AM
  3. Invalid Sitemap Problem - Awaiting your help!
    By number1forum in forum Troubleshooting
    Replies: 4
    Last Post: 10-07-2007, 02:58 PM
  4. Invalid SQL error on initiating sitemap
    By NICEGUY77 in forum Troubleshooting
    Replies: 2
    Last Post: 01-12-2007, 08:44 PM
  5. Replies: 7
    Last Post: 09-09-2005, 07:39 AM

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
  •