WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Google XML Sitemaps] Non-WP Pages not working in 2.8.4

[Plugin: Google XML Sitemaps] Non-WP Pages not working in 2.8.4

  • Paul Menard
    Participant

    @pmenard

    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=[]

  • The topic ‘[Plugin: Google XML Sitemaps] Non-WP Pages not working in 2.8.4’ is closed to new replies.