Overwrite Category URL with static Page URL
-
Hello,
I imagine I’m far from the first to ask this question, but I’m unable to find an answer so hopefully someone can point me in the right direction.
I would like to retain the current URL structure of domain.com/stories/article-title/ when viewing Posts, but simultaneously ensure that domain.com/stories/ displays a specific, static Page called “stories” rather than showing the default Post list filed under the stories Category. As you may have guessed, I’m using Yoast SEO to strip the /category/ base from the URL to retain the nice URL structure mentioned above.
When I have both a category named “stories” and a static Page named “stories”, WordPress defaults to the category listing for domain.com/stories/. Is it possible to force WordPress to instead prefer to show the static Page for /stories/ instead?
Any help or tips would be much appreciated and thanks!
-Gabe-
- The topic ‘Overwrite Category URL with static Page URL’ is closed to new replies.