Django insists on adding the current path before a link i put into an a> tag on my page : example:
<h6><a href="{{ officialUrl }}">Read More</a></h6>
now assuming officialUrl was “www.google.com” – Django will instead link to “http://www.mysite.com/this/page/www.google.com”
Any idea how to fix this?
Django is not doing that, browsers do because you are not specifying a protocol. A proper link inside an
<a>tag will usually begin withhttp://or some otherXXX://protocol. Simply puttingwww.google.comis not a proper link.