Support » Fixing WordPress » Feed URL overwrites page URL

  • Paul

    (@paulvandermeijs)


    I’ve created a custom feed using add_feed() which I assumed would only be available using the feed_base (defined in the WP_Rewrite class) in the URL but it doesn’t.

    For instance when creating a feed named ‘news’ it can be accessed using /feed/news but also just using /news, which would make a page named ‘news’ using the same path inaccessible.

    Is there a way to force the feed to use the feed_base setting to prevent this?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Feed URL overwrites page URL’ is closed to new replies.