Page 1 of 1

Problem with href links

Posted: Mon Apr 02, 2012 11:05 pm
by souliel
Hello guys!

I just started setting up XAMPP locally on someone's MAC OSX. I got a problem everytime I assign links like <a href="include/widget.php">open widget</a>. It automatically adds a domain name and the link is no longer "inlcude/widget.php" as what I put on the href property. When I clicked it, it redirects me to "http://domain_name/include/widget.php" and the problem is I haven't uploaded that file yet so it displays an error page.

Can anyone please help me how to remove this auto add domain name please. What should I disable or where to go.

Any help would be appreciated.

Re: Problem with href links

Posted: Mon Apr 02, 2012 11:48 pm
by califdon
You probably need to begin your URL with "localhost/".