I'm having an issue where all links go to a local file, rather than a web address. It's this because I'm in xampp as a apposed to an actual server?
echo '<a href="www.google.com" >TEST</a>';
goes to : localhost/www.goog.com
You left out the protocol. The "http://" part.
Can anybody confirm the following?
I have noticed that Google has started to leave off the http: and just use //www.google.com.
I think it is to prevent an unecessary 301 redirection if the site has been upgraded to https:.