Programmatically set redirections

#406184
  • Hello

    I have made a plugin to batch manage terms, and I would like to know if there is a way to add redirections by a function ? I had a look in the doc, and did not find anything.

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math support today and bringing your concern to our attention.

    Unfortunately, we currently don’t have any filter to create a redirection rule programmatically. You may directly access the database table wp_rank_math_redirections to see how redirections are being added and you can create your own function, however, this is now out of our scope of support.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Thank you.

    Hello,

    Glad that helped.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Programmatically set redirections’ is closed to new replies.