theme development – Not Able to Access Terms Under Custom Taxonomy Archive

Question

Having a Custom Taxonomy called movie-genres

'rewrite' => array('slug' => 'movie-genres', 'with_front' => true) );
 register_taxonomy( 'movie-genres', array( 'movies' ), $args );

And I have a WP template hierarchy for the Taxonomy and it’s associated Terms like below

archive.php
archive-movie-genres.php

taxonomy.php
taxonomy-movie-genres.php
taxonomy-movie-genres-action.php

Now when navigating in the browser I am able to see the CPTs listed for term of action like this

domain.com/movie-genres/action

but when landing at movie-genres to get the all terms listed under this taxonomy like

domain.com/movie-genres/

I am getting the 404 page in return!

As you can see I have the archive-movie-genres.php and taxonomy-movie-genres.php created so can you please let me know why I am getting ended at 404?

0
Behseini 4 weeks 2022-12-31T18:43:48-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse