Custom Taxonomy Page redirect 404

admin2025-01-08  3

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.

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.

Share Improve this question asked Mar 19, 2013 at 5:47 Akanksha SharmaAkanksha Sharma 11 bronze badge 4
  • What is url of your taxonomy terms? – Vinod Dalvi Commented Mar 19, 2013 at 6:41
  • 1 First check is there any post and taxonomy that has been same named as your new taxonomy. – user29146 Commented 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 Sharma Commented 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 Sharma Commented Mar 21, 2013 at 10:19
Add a comment  | 

1 Answer 1

Reset to default 0

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.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1736269787a1378.html

最新回复(0)