<a href ="somewebsite.com"> takes to localhost/somewebsite.com , Why?

Ajay Kelkar picture Ajay Kelkar · Jan 1, 2010 · Viewed 11k times · Source

I want to open somewebsite.com , but it goes to localhost/somewebsite.com , why its taking relative path.

Please help ?

Answer

avpx picture avpx · Jan 1, 2010

Add http:// in front of the URL.