Can I use the same permalink base for Categories and Posts?
-
I am migrating our site from another CMS and the way the permalinks were setup with the prevous CMS was
posts:
/news/%year%/%monthnum%/%day%/%postname%/
categories:
/news/%categorynamename%/
So as you can see, both started with
/news/
I’ve tried the using
/news/%year%/%monthnum%/%day%/%postname%/
as a Custom Structure within the Permalink Settings and then addingnews
as the Category base however the posts throw an error but the categories work just fine.Can I create a custom rewrite_rule in my
functions.php
file that can accomplish this or perhaps do something in my.htaccess
file?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Can I use the same permalink base for Categories and Posts?’ is closed to new replies.