We have a scenario where there are some dead links out in the world to our calendar. Because the page exists, it won't result in a 404. However, some of the URL parameters are old filter values which are no longer valid, so it results in an error and displays no data on the calendar.

Is there a way to clear out filters based on their value? Specifically, if a filter value is invalid (e.g. the taxonomy id on which the URL says to filter doesn't exist) is there a way to clear the filters, even if through custom code?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.