Override redirect for a specific page?
-
Hello, and thank you for this nice little plugin!
I have the following working nicely thanks to previous threads (thanks all):
function my_awesome_redirect( $redirect ) {
$redirect = ‘https://some-landing-page’;
return $redirect;
}
add_filter( ‘wpml_redirect_to’, ‘my_awesome_redirect’ );And now, I am wondering if there might be a way to NOT do the redirect on one specific page. Or for a specific link (there are two login links on the page in question and only one of them wants to not redirect, but both could).
Any thoughts?
- The topic ‘Override redirect for a specific page?’ is closed to new replies.