WordPress.org

Ready to get started?Download WordPress

Forums

Trailing slash after sitemap.xml URL with plugins disabled (5 posts)

  1. suaswe
    Member
    Posted 2 years ago #

    Hi all,

    I have something of a puzzling issue with a WordPress site that I'm attempting to administer, in that a link that should look like this:

    blogexample.co.uk/news/news_sitemap.xml

    ... when accessed becomes this:

    blogexample.co.uk/news/news_sitemap.xml/

    (This is an internal site so can't provide the actual URL, I'm afraid)

    Having read around about this issue it appears that the problem is most often with the plugins; I use WordPress SEO on this one and that was where my suspicion first landed, however my hopes were quickly dashed when I disabled the plugin and still got the same result.

    I'm quite lost with all this as I've not worked much with WordPress - does anyone have any ideas of where else I can look? I should add that there is a permalink structure in place in the /%postname%/ form, however I believe this needs to stay in place for other posts to function properly.

    Any ideas or thoughts on this would be mightily appreciated!

  2. Johnb81
    Member
    Posted 2 years ago #

    HI Suaswe,

    Do you have any other plugins running on the same blog? Try disabling them one by one until the issue is solved. You can always enable the plugins again later.

    Also, do you have a particular theme that might be rewriting some URL's?

  3. suaswe
    Member
    Posted 2 years ago #

    Hi Johnb81,

    Thanks for your response! I have already disabled all plugins, and yes, there are themes installed but unfortunately they are bespoke (and not designed by me!). Do you know of any particular "buzzwords" within the theme config I could look out for that may account for a trailing slash? I know it's a long shot but I am flailing about in the dark here. :)

    Cheers!

    SuaSwe

  4. Johnb81
    Member
    Posted 2 years ago #

    Why don't you just disabled the theme and use the default WordPress theme temporarily just to confirm that it is the theme? At least like this, in 1 minute you can conclude if the problem is coming from the theme or not.

  5. suaswe
    Member
    Posted 2 years ago #

    Hi Johnb81,

    Yes, looks like that might be the only option - I'm not the main admin of the site so it won't happen on my say-so, but I reckon it's all I can suggest at this point!

    Thanks for your help. :)

    SuaSwe

Topic Closed

This topic has been closed to new replies.

About this Topic