I know there are a lot of posts about this here, but NONE of them have answered my problem.
I am working with a custom built theme that has a custom category type (named messagetypes). I have a category created named media. This theme is setup so that I can add a menu item that when clicked, displays all of the items labeled media, but the URL of the page is then mysite.com/messagetypes/media. I want to remove messateypes from the url and have it only mysite.com/media.
The closest I have gotten is when I add to the custom category functions page, where
register_taxonomy( 'messagetypes', ...
is called with
'rewrite' => array( 'slug' => ''),
When I do this, I get the desired result from this page, but all of my other page links break (using permalinks.)
I have also tried adding to the rewrite array
'with_front' => false
but that didn't work either.
Any help or insight would be great. I've wasted too many hours on this and it's driving me nuts.
Thanks.