[resolved] Custom Taxonomy & 404 (2 posts)

  1. jvinch
    Posted 5 years ago #


    Having some issues with custom taxonomies at the moment, hopefully someone recognizes the issue and can provide a solution.

    I have the following function defined in functions.php

    add_action( 'init', 'create_my_taxonomies', 0 );
    function create_my_taxonomies() {
    	register_taxonomy( 'people', 'post', array( 'hierarchical' => false, 'label' => 'Contributors', 'query_var' => true, 'rewrite' => true ) );

    This work great.

    Now, I'm adding a second custom taxonomy - by adding a new register_taxonomy function to functions.php.

    It seems to work. Taxonomy block show in the new post window, I can add terms and when viewing the various terms, it correctly shows the number of assigned posts.

    Problem is - the taxonomy pages result in a 404. I tried everything, or so it seems. Re-saving permalinks, emptying browser cache. Nothing seems to work.

    Mind you, this is *just* for the 2nd taxonomy. The first one rocks and rolls right along.

    Any ideas here?

  2. jvinch
    Posted 5 years ago #

    Seems to have been related to using OpenDNS caching and a function I used to remove category base path.

    All is good now.

Topic Closed

This topic has been closed to new replies.

About this Topic