My question is related to this one. I would like my post permalinks to be prefixed by /blog/
, but I don't want this prefix to be applied to my custom post type portfolio. In other words, I expect post links to use /blog/
and portfolio links to use /portfolio/
. This is why I set set_front
to false
for this post type and set my permalink structure to /blog/%postname%/
.
This almost works, except that a wp_list_categories
call in my page header prints broken links. My skill taxonomy links have the form /portfolio/[SKILLNAME]
, but this function is outputting /blog/portfolio/[SKILLNAME]
, which leads to a 404 page.
Any thoughts on what might be going on here? I already tried clicking Save changes on the Permalinks settings page to force a flush of the rewrite rules.
with_front
instead ofset_front
?