I have a custom post type 'BLOG'. I created archive-blog.php file to display archives. Also I register a taxonomy with it named as 'blog-category' and created a page 'taxonomy-blog-category' while clicking on this taxonomy terms redirects me to the 404 page. Seems permalink problem. I have saved permalinks and rewrite_flush() but that also doesn't work. Any help would be appreciated. Hope I'll get a positive response from your side. Thanx in advance.
-
What is url of your taxonomy terms?– Vinod DalviCommented Mar 19, 2013 at 6:41
-
1First check is there any post and taxonomy that has been same named as your new taxonomy.– user29146Commented Mar 19, 2013 at 7:34
-
Hi thanks for helping me out the url of the term and taxonomy is this example.com/category/category-1 where category is the taxonomy and term is category-1– Akanksha SharmaCommented Mar 21, 2013 at 10:15
-
Yes, there is another taxonomy is registered with the same name. But they are registered with different CPT– Akanksha SharmaCommented Mar 21, 2013 at 10:19
Add a comment
|
1 Answer
The taxonomy having rewrite rule with the name as 'category'. I changed it to different name and named it as 'blog-category', it will work for me in my case.