url rewrite
-
I have created a custom post and all works as expected. However, when I create a parent page (eg news page) that directs users into a news article, it does not write over CPT custom template. Eg. I want my permalink to be mydomain.com/news-story/news1. I set the permalink to news_story and the rewrite to news-story. However if I go to mydomain.com/news-story it re-directs me to what looks like a standard CPT template and not the page that I custom made with the permalink mydomain.com/news-story (but the permalinks look correct). If I take off the rewrite, the landing page mydomain.com/news-story looks correct, but the permalink is wrong when in a news article as it looks like: permalink to news_story
Any ideas how to get this to work?
- The topic ‘url rewrite’ is closed to new replies.