Remove a page (pagename/slug) from the rewrite rules
-
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]
- The topic ‘Remove a page (pagename/slug) from the rewrite rules’ is closed to new replies.