• Resolved av0ica

    (@av0ica)


    Hello,

    I see that more users encountered this issue regarding Link Protection offered by antivirus. As the solution is pretty simple and you didn’t do anything for fixing it will leave this here so it can help other people.

    Search for this part of the code

    add_action( 'init', 'wpa_autologin_via_url' );
    function wpa_autologin_via_url(){
    

    add the condition at the beginning of the function

    
    	//safe link start
    	 if($_SERVER['REQUEST_METHOD'] === "HEAD"){
    		 //Redirect Safelink boot at Home
    		wp_redirect( home_url(), 301 ); exit;
    		 exit;
    	 }
             //safe link End
    
    • This topic was modified 2 years, 9 months ago by av0ica.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Safe Link Fix / microsoft or outlook emails link problem’ is closed to new replies.