• Resolved Anonymous User 303747

    (@anonymized-303747)


    Hi,

    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?

Viewing 1 replies (of 1 total)
  • Thread Starter Anonymous User 303747

    (@anonymized-303747)

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

    All is good now.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Taxonomy & 404’ is closed to new replies.