Regular expression for not-found strings
-
We have a custom post type for events. Once an event has passed, the post changes to a draft, and the URL is no longer active. However, other events continue to be published. This is the structure of the URL:
https://www.mcht.org/trips-events/[slug]Here’s an example of an event that is no longer live, but has been linked on an external webpage:
https://www.mcht.org/trips-events/2019-08-17-clark-island-open-house
Is it possible to redirect an event URL slug when it is no longer found, but ignore published URLs at that level?
TIA!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Regular expression for not-found strings’ is closed to new replies.