I have external links on my webpage:
<a target="_blank" rel="nofollow" href=<?php echo $r['url'] ;?>>
VISIT STORE
</a>
When $r['url'] has http://
it shows the correct external url but when it has only www
or just the website name with the domain it appends the web page's url.
Case 1 : url = http://google.com Works fine
Case 2: url = www.google.com creates a link as: http://localhost/appname/controller/action/www.google.com