Forums

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

  1. gilsones
    Member
    Posted 10 months 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]

Reply

You must log in to post.

About this Topic