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

  • SEARCH
  • Home
  • 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 8218769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T12:54:57+00:00 2026-06-07T12:54:57+00:00

I’m getting a Page Not Found message when clicking on the link to display

  • 0

I’m getting a Page Not Found message when clicking on the link to display the terms in a taxonomy

Scenario:
I have a custom post type called “glossary”
Attached is a custom taxonomy called “section” with the rewrite set to “library/glossary-start-here”

I created a page that lists the terms in the taxonomy. This is a WordPress page with the slug of “glossary-sections” – the template for the page is set to “taxonomy-section.php”. The page is a child of “library” and so the permalink for the page is “example.com/library/glossary-starts-here/glossary-sections/”

The template “taxonomy-section.php” has the following code:

<?php // Begin header section.
$argterms=array(
'include' =>array(
    117,118,115)
);
$terms = get_terms('section', $argterms);
echo '<ul>';
foreach ($terms as $term) {
echo '<h3><a href="'.get_term_link($term->slug, 'section').'">' . $term->name . '</a></h3>';
}
echo '</ul>'; ?>
<div>
<?php 

When clicking on the link to the page “glossary-sections”, which is used on a number of other pages, I get a page not found message.

I know the template does its job because on some occasions as I’ve poked around troubleshooting I’ve had it working. However, I can’t find a consistent condition that causes the page to work. I suspect that the problem has something to do with the rewrite but my tests have been inconclusive.

I’d appreciate any suggestions on why this isn’t working and how to correct it.
I’m particularly puzzled by the fact that I can specify a page like “glossary-section” and yet have it not be found.

Thanks.

  • 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-07T12:54:59+00:00Added an answer on June 7, 2026 at 12:54 pm

    The source of the problem was that I had included a rewrite for the taxonomy, while at the same time using pages with assigned templates.
    Once the rewrite was removed it appears that everything worked correctly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can i display an alert message or alert box when getting the information(not
I'm getting some weird black spots with a custom map page (via the Google
I am using web client for getting page source. First time i am getting
I'm getting my page wall with the open graph. And when someone posted a
After removing hash from URL using window.location.hash='' page getting reloaded in firefox. EDIT Example:
I am new with jQuery and I'm having a hard time getting my page
I am getting stuck in a page,where I'm using selectbox & checkbox,and they will
I am getting an error when loading the page without any GET parameters (eg.:
in the aspx page i am getting this error while binding dropdown list Unable
I am getting the below mentioned error while loading the JSF page. The page

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.