Disabling mixed_content_fixer solves the issue.
The page has no <link> tag without href.
The link that is being replaced is a simple <a href="https://www.abcd.com.au">
Unless im mistaken, the problem is not in the code that you posted, but in the one above it:
$search_array = apply_filters('rlrsssl_replace_url_args', $this->http_urls);
$ssl_array = str_replace ( array("https://", "http:\/\/") , array("https://", "https:\/\/"), $search_array);
//now replace these links
$str = str_replace ($search_array , $ssl_array , $str);
This replaces all URLs which start with the get_option(‘home’), from HTTP to HTTPS.
As I already stated, my second domain does fall into that category since it starts with that.
https://www.abcd.com <- Home
https://www.abcd.com.au <- Second domain
The script thinks its the same domain but its not.
As a temporary (?) solution, I have added this after that code:
$str = str_replace ("https://www.abcd.com.au" , "https://www.abcd.com.au" , $str);
-
This reply was modified 7 years, 9 months ago by SGURYGF.
-
This reply was modified 7 years, 9 months ago by SGURYGF.
-
This reply was modified 7 years, 9 months ago by SGURYGF.