• Hello there.

    First , Im always coming here when im bummed off of searching and trying things. So coming here kinda makes me feel less usefull somehow.

    Now here is the deal Ive created a taxonomy named actors. Ive enabled the rewrite with addition of a slug.

    add_action( 'init', 'actors_register_taxonomies' );
    
    function actorsm_register_taxonomies() {
    	register_taxonomy(
            'actorsm',
    		array('actor'),
    		array(
                'hierarchical' => true,
                'label' => 'Male Actors List',
    			'public' => true,
    			'has_archive' => true,
    		    'rewrite' => array( 'slug' => 'actors/male')
    
    		)
    	);
    }

    My problem is, when there is no rewrite; the taxonomy links work. like “www.mysite.com/actors/michael” and we got every thing that has Michael tagged on. But when i enable rewrite slug with “actors/male” which should result with “www.mysite.com/actors/male/michael” it gives out 404.

    Ive been to rewrite links on the admin panel and kinda sat there for few hours like a man with huge hemeroids (since everyone uses the term “flushing”) but alas it does not fix it.

    Also, aside from the taxonomy link, in order to create an Archive page for the spesicif taxonomy term such as the “male” (www.mysite.com/actors/male/), should i have to create a template? And if so ,do i child template it under the actors?

    And since someone who knows stops by to enlighten me, can you please describe whats the difference between categories and taxonomies? (since they both have php templates it makes me wonder whats specificly needed

  • The topic ‘Custom Taxonomy slugs for Archive page is not working’ is closed to new replies.