Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8364049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:20:20+00:00 2026-06-09T12:20:20+00:00

For some reason when I click the link to a taxonomy term page, wordpress

  • 0

For some reason when I click the link to a taxonomy term page, wordpress keeps displaying the index file and says page not found. I have a page with the slug “contributors” using a template that displays the terms of the custom taxonomy “contributor) with a link to it’s page, so I click the link and the error occurs.


This is my functions.php code for adding the taxonomy:

register_taxonomy(
    'contributor',
    'post',
    array(
        'hierarchical' => true,
        'labels' => array( 
             'name' => _x( 'Contributors', 'taxonomy general name' ), 
             'singular_name' => _x( 'Contributor', 'taxonomy singular name' ), 
             'search_items' => __( 'Search Contributors' ), 
             'all_items' => __( 'All Contributors' ), 
             'parent_item' => __( 'Parent Contributor' ), 
             'parent_item_colon' => __( 'Parent Contributor:' ), 
             'edit_item' => __( 'Edit Contributor' ), 
             'update_item' => __( 'Update Contributor' ), 
             'add_new_item' => __( 'Add New Contributor' ), 
             'new_item_name' => __( 'New Contributor Name' ), 
             'menu_name' => __( 'Contributors' ), 
         ),
        'show_tagcloud' => true
    )
);

Does anyone know why, even when including a file called taxonomy-contributor.php, the error still occurs?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T12:20:22+00:00Added an answer on June 9, 2026 at 12:20 pm

    Seems you need to flush rewrite to get it to work

    add_action('init', 'custom_taxonomy_flush_rewrite');
    function custom_taxonomy_flush_rewrite() {
        global $wp_rewrite;
        $wp_rewrite->flush_rules();
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The code below is not working for some reason. As I click at test
I am trying to implement simple page routing, for some reason it is not
I have the following code: visitSite.hidden = YES; For some reason, when I click
<a href=http://twitter.com/theusername>Click</a> For some reason, it pops up the download instead of going to
For some reason, this line of code is returning undefined for $(this).attr(href) $(a).attr(href, javascript:page('
For some reason I can't detect I can't set a z index for any
For some reason the postback event keeps firing for my button. If I place
For some reason when going back a link, i.e. hitting the back button in
For some reason the toggleClass function does not seem to be working. I have
I'm trying to provide a number of clicked link to click handler. For some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.