• Resolved Sea Jay

    (@jcollier)


    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!

    • This topic was modified 6 years, 4 months ago by Sea Jay.
    • This topic was modified 6 years, 4 months ago by Sea Jay.
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.