Support » Plugin: Redirection » Schedule redirection in the future

  • Resolved George

    (@quantum_leap)


    I have a case where I would like to schedule a redirection to happen on a date and time in the future. For example, a landing page of an event that finishes: I would like to redirect this page to another page that mentions that the event has now been completed.

    Is there a filter that could make that happen?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Godley

    (@johnny5)

    No, this is not something you can currently do. You will need to create the scheduling system yourself and can use https://redirection.me/developer/ to then create the redirect (or change the status of a disabled redirect) when appropriate.

    George

    (@quantum_leap)

    It seems like I don’t need to create any scheduling system as long as I am able to change the status of a disabled redirect at a certain date and time which I can do with PHP conditionally. I can’t find a hook that changes the redirection status though.

    Plugin Author John Godley

    (@johnny5)

    Everything is available through the WordPress REST API, as explained in the developer link above.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.