WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If you go to http://redoakchrysler.net/vehicles/new-vehicle-inventory and select 2012 from the drop down menu in the years list, you will be taken to a 'page not found' page. But if you select any other year, or any other option in the drop down menus, it performs the search correctly.

Has anyone ever experienced this before, or know why this is happening?

Thanks in advance.

share|improve this question
We need to see your code that processes this form data. – Brian Fegter Sep 21 '11 at 6:38
@Sean Carruthers year is an internal query_var. Try renaming your year field to something else. e.g: make_year – Hameedullah Khan Sep 21 '11 at 12:07
@HameedullahKhan Thanks, that worked perfectly! :) – Sean Carruthers Sep 21 '11 at 22:50
up vote 0 down vote accepted

Change $year to another variable.

share|improve this answer

Your Answer


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.