WordPress.org

Support

Support » Plugins and Hacks » [Plugin: XML & Google News Sitemap Feeds] Plugin adss "/" to pages URLs

[Plugin: XML & Google News Sitemap Feeds] Plugin adss "/" to pages URLs

Viewing 9 replies - 1 through 9 (of 9 total)
  • In version 3.9.1 there were no such problem. It comes in version 3.9.2. I made downgrade.

    Plugin Author RavanH
    Participant

    @ravanh

    I did put in a routine to actually remove the trailing / after sitemap.xml that would happen in some sites/cases. In your case, that seems to have the exact opposite effect… I’ll have to find out why before I can fix that 🙁

    What do you have set on your Permalinks page? What is your WordPress version? Any other (significant) plugins running?

    In any case, thanks for reporting it.

    WordPress v.3.4.0
    Structure of permalinks – custom: /%postname%.html
    “/” is adding only for pages, not for posts.

    Plugin Author RavanH
    Participant

    @ravanh

    But that’s WordPress doing that, or am I mistaken? I mean, on all sites where I use /%postname%.html permalinks for posts, pages will not get that .html extension… Even when I put that in the slug name manually, it will get converted to /%pagename%-html (notice the hyphen instead of the dot) immediately. Whether or not I am using the XML Sitemap plugin, does not seem to make a difference.

    But I must say all my sites are on WP in Multi-site mode so it might be that WP in standard mode behaves differently in this respect… Or are you running some plugin that allows for more complex Permalink parameters?

    Plugin Author RavanH
    Participant

    @ravanh

    UPDATE: I just uploaded a modification to the 3.9.2 version that should take care of the trailing slash after /%pagename%-html… Could you upgrade again to see if that is what you are looking for?

    I cannot do anything about the hyphen instead of the dot though… That’s for another plugin 😉

    I tested the new v3.9.2 – pages displayed normally without “/”. However site.com/sitemap.xml returns me “404”.
    Maybe that’s only my bug.

    Plugin Author RavanH
    Participant

    @ravanh

    Could you resave the permalink structure?

    I have resaved permalink structure. Everything working on one blog, but on another blog – site.com/sitemap.xml still returns “404-page not found.”

    Plugin Author RavanH
    Participant

    @ravanh

    Sorry, no idea why that would be happening. Unless the plugin is not active on that second blog 😉

    Is the sitemap available on site.com/?feed=sitemap at all?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: XML & Google News Sitemap Feeds] Plugin adss "/" to pages URLs’ is closed to new replies.