WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Google XML Sitemaps] Non-WP Pages not working in 2.8.4 (1 post)

  1. pmenard
    Member
    Posted 4 years ago #

    Have a custom plugin for Products. Using the plugin action 'sm_buildmap' to insert these non-WordPress product URLs. This works great under the dev site on WordPress 2.8.3 Sitemap XML file: http://wp3.byloudlogic.com/sitemap.xml

    Launched the site this morning to the client's live product server. The WordPress pages do seem to build but for some reason the non-WordPress pages are not included in the sitemap. Sitemap file: http://www.psinternational.net/sitemap.xml

    Did some tracing though both my function and the plugin code. See something strange. I put an echo line into sitemap_code.php line 1607. This is just before the if check if the filehandle and 'b_xml' GetOption comment.

    Below is the output of the echo:

    _fileHandle=[Resource id #104] b_xml=[1]
    _fileHandle=[Resource id #104] b_xml=[1]
    _fileHandle=[Resource id #104] b_xml=[1]
    _fileHandle=[Resource id #104] b_xml=[1]
    _fileHandle=[Resource id #104] b_xml=[1]
    _fileHandle=[Resource id #104] b_xml=[1]
    _fileHandle=[Resource id #104] b_xml=[1]
    _fileHandle=[Resource id #104] b_xml=[1]
    _fileHandle=[Resource id #104] b_xml=[1]
    _fileHandle=[Resource id #104] b_xml=[1]
    _fileHandle=[Resource id #104] b_xml=[1]
    _fileHandle=[] b_xml=[]
    _fileHandle=[] b_xml=[]
    _fileHandle=[] b_xml=[]
    _fileHandle=[] b_xml=[]
    _fileHandle=[] b_xml=[]
    _fileHandle=[] b_xml=[]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.