Rewrite rules for single posts ONLY
-
hello,
I have a question… I want to make it to where it ONLY adds a category base for posts, but excludes EVERY OTHER post type besides ‘posts’.
I have one custom post type called ‘listing-type’ , which i have successfully removed, which is good. But it also removes the category base for default blog posts. I’d like it to have it show a category base when viewing posts (site.com/blogcategory/blogpost) but for listings i do not want a categor ybase (site.com/listingname) , the archive obviously needs to carry the tag (site.com/archivecategory) so that can stay the same.
Is this possible with regex and rewrite rules?
I’m using SEO Ultimate to remove the category bases currently, but if i try to do it for just posts and not listings , it adds it to listings regardless.
Thanks
- The topic ‘Rewrite rules for single posts ONLY’ is closed to new replies.