RavanH, thank You for the quick answers!
Now I use Your plugin. It works well, but there is one question.
After activation it adds to my pages URL "/".
Before activation it was site.com/page
now - site.com/page/
When I deactivate plugin - URLs return to a previous state.
Any idea?
http://wordpress.org/extend/plugins/xml-sitemap-feed/
In version 3.9.1 there were no such problem. It comes in version 3.9.2. I made downgrade.
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.
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?
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.
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."
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?