Links not working

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="" >TEST</a>';

goes to : localhost/


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 //

I think it is to prevent an unecessary 301 redirection if the site has been upgraded to https:.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.