Is there a Hook or Filter for Yoast Redirects

Question

Yoast is redirecting URLs for me in their plugin. I have a reverse-proxy website, so I need to modify the URLs from WordPress before they go out to the server. Is there a hook for this feature so that I can modify the URL before it goes out?

I’ve already tried the WordPress redirect hook. This works when WordPress tries to find you the correct page or template. It fails to fire when it’s a Yoast Redirect

https://developer.wordpress.org/reference/hooks/wp_redirect/

Environment

All content is modified using the ‘wpfc_buffer_callback_filter’ and ‘shutdown’ actions to modify all output HTML. For example, all instances of subdomain.website.com are modified to www.website.com/subdomain.

0
cngodles 5 months 2022-03-06T17:11:30-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse