More simply put:
How do you write a custom handler for WordPress 404 errors?
Alex
Thanks – that worked!
I have a similarly related question –
Let’s say I have a wordpress page, e.g. mysite.com/storefinder.
I’d like to be able to have urls like /storefinder/united-states/state/city/etc/etc.
How do I overwrite the WordPress 404 errors for this situation? I have a page setup called storefinder, and in that page I have some PHP code – but if I go to /storefinder/anything – WordPress throws a 404 error.
Any ideas?
Thanks again @codestyling for answering my first question.
Wow! Thanks for the super detailed feedback.
I’ll give it a try now.
Thanks!!!