WordPress.org

Ready to get started?Download WordPress

Forums

Remove a page (pagename/slug) from the rewrite rules (1 post)

  1. Gilson de Carvalho
    Member
    Posted 2 years ago #

    How do I remove a page from the rewrite rules?

    I need to do this because I created a new post_type that uses the same slug that page, but I can not change any.

    post_type = portfolio (slug = portfolio)
    page = portfolio (slug = portfolio)

    It is difficult to explain, but must be the same!
    I'm having trouble because of duplicate slug, so I have to remove the rules of the "page".

    Is there any way to do this with a filter or action?

    Thanks

    [Sorry my bad english]

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by Gilson de Carvalho
  • This topic is not resolved
  • WordPress version: 3.2.1