Announcement

Collapse
No announcement yet.

XML Sitemap wrong date

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • audiokid
    replied
    The sitemap is showing the friendly rewritten url, I'm no code guru here but I'm thinking maybe the sitemap should somehow show the standard url's and then a redirect friendly that comes after. Doesn't seem like google is hip to vb4's map. I've checked my indexed url's though and they are all being indexed.
    Weird issue.

    Leave a comment:


  • audiokid
    replied
    here is an example:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url>
    <loc>http://recording.org/threads/40547-Pwr-Supply-Current-Rating</loc>
    <lastmod>2003-10-19T07:51:00-07:00</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.5</priority>
    </url>

    Leave a comment:


  • audiokid
    replied
    getting errors again.
    Empty Sitemap
    Your Sitemap does not contain any URLs. Please validate and resubmit your Sitemap.
    I have been testing the url friendly options (admincp>Options>). I have mine set on mod rewrite. If you look at the sitemap that google shows an X error, the urls listed in my map are of course missing .html, as they are url friendly. This must be what's happening.

    Leave a comment:


  • audiokid
    replied

    Just checked, I have no errors in sitemaps now.

    Leave a comment:


  • audiokid
    replied
    Originally posted by BBR-APBT View Post
    Depends which error you are fixing.

    Are you getting the wrong date error or An invalid character was found in text content.
    CORRECTION... Edit: Yes, I had the same error message...

    I see this setting which I've never adjusted.
    admincp> options> Friendly URL> Friendly URL Unicode

    Mine is set to ignore. I'm thinking this has more importance than we realize. What should I set this to?
    Last edited by audiokid; Wed 29 Sep '10, 3:29pm.

    Leave a comment:


  • BBR-APBT
    replied
    Check out the screen shots from Google you tell me if its confirmed fixed.

    I don't care if IB is happy, All that matters is that Google is happy.
    Attached Files

    Leave a comment:


  • BBR-APBT
    replied
    Originally posted by audiokid View Post
    Found it on line 794 and 840.

    Is this a confirmed fix?
    Depends which error you are fixing.

    Are you getting the wrong date error or An invalid character was found in text content.

    Leave a comment:


  • audiokid
    replied
    Found it on line 794 and 840.

    Is this a confirmed fix?

    Leave a comment:


  • audiokid
    replied
    Originally posted by BBR-APBT View Post
    To fix this error do the following,

    in includes/class_sitemap.php
    find the second UTF-8
    Replace with iso-8859-1

    I don't find these in the 4.0.7 build?

    Leave a comment:


  • BBR-APBT
    replied
    Originally posted by BBR-APBT View Post
    it seems since the 20th I have been receiving this new error. Any of these ’ ` ® , - £ in a thread title also causes this error, An invalid character was found in text content.
    To fix this error do the following,

    in includes/class_sitemap.php
    find the second UTF-8
    Replace with iso-8859-1
    Last edited by BBR-APBT; Wed 29 Sep '10, 12:06pm.

    Leave a comment:


  • audiokid
    replied
    Great, I just dumped vbseo to find another bug here that costs more time and loss of traffic. shake my head

    Thanks for the patch
    Last edited by audiokid; Tue 28 Sep '10, 10:33pm.

    Leave a comment:


  • chris15440
    replied
    Thanks! Hopefully 4.08 will fix this completely.

    Leave a comment:


  • BBR-APBT
    replied
    Originally posted by chris15440 View Post
    Anyone know the fix? I don't care what anyone says, it's affecting the sitemap generation.
    in includes/class_sitemap.php search for

    Code:
    $this->content .= $this->url_block(
    Just above that add this code:
    Code:
                if ($forum['lastpost'] == 0)
                {
                    $forum['lastpost'] = '1284746403';
                }
    It should be around line number 1162. Remember this is only a temp fix. What this does is any forum that has 0 post will put a fake last post time in the sitemap to fool google sitemap standards.
    This only alters the vbulletin_sitemap_forum_1.xml.gz not any sql.

    I am thinking google is making changes to the way their system works.
    Because I just did my fix two days ago but it seems since the 20th I have been receiving this new error. Any of these ’ ` ® , - £ in a thread title also causes this error, An invalid character was found in text content.
    Last edited by BBR-APBT; Tue 28 Sep '10, 12:27pm.

    Leave a comment:


  • chris15440
    replied
    Anyone know the fix? I don't care what anyone says, it's affecting the sitemap generation.

    Leave a comment:


  • chris15440
    replied
    Does anyone know the fix for this, before 4.08 comes out? Is affecting the forum sitemap crawls with Google.

    Leave a comment:

widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X