How to obtain website redirect location using WP functions
-
Hello,
Is there WP functionality with which I can discover the redirected url of any page (WP or not WP page/site). Maybe use the result of wp_remote_get? If that’s the way, how do I get the redirected url from the function result?
There is php functionality for that, but I like to keep my codebase more WP like.
Thanks
2 reacties aan het bekijken - 1 tot 2 (van in totaal 2)
2 reacties aan het bekijken - 1 tot 2 (van in totaal 2)
- Het onderwerp ‘How to obtain website redirect location using WP functions’ is gesloten voor nieuwe reacties.