Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

For example I have 20 pages on a site. one of them is called bacon another called eggs. on the same site...lets say breakfast.com

I have the permalinks set up properly and have used them successfully on all pages, including Eggs by way of this: www.breakfast.com/eggs?cooked=scrambled. This works 100% as it should.

However, on a different page of Breakfast.com called sausage...this, does not work. www.breakfast.com/sausage?type=spicy

this is causes a 404 error. I don't see why it would as it's the same format. I have verified that the page exists in my pages directory in WP-admin.

If I strip away the GET variable the page works. Google is not helping me. Anyone have a similar experience?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

WordPress has a list of reserved terms that you cannot use for taxonomies. From your question, I gather that "cooked" is a taxonomy that applies to eggs and "type" is a taxonomy that applies to sausage. Unfortunately, "type" is a reserved term in WordPress, so it interprets your query string differently than you expect.

The full list of reserved terms is available in the Codex. Just use a different term ... maybe "sausage-type" ... for your taxonomy and you should be in the clear.

share|improve this answer
    
EAMann, When I found that this was my problem I almost fell out of my chair both almost crying and laughing at the same time. I would have NEVER thought about that. Thank you SO SO much. –  wooWoowoo Aug 21 '11 at 18:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.