GetSimple Support Forum

Full Version: Link type
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Sorry to open another post, but its another problem. Smile
Why when i write a simple link in a component (footer for example), get simple auto adds my local address prefix?
Example, when i write:
Code:
<a href="www.website.com">LINK</a>
getsimple turn it in "www.localsite.com/www.website.com" when i click on it.
I found something on this forum about this topic, but just about the page editor.
So, when i use WYSIWYG editor i can solve this problem choosing "URL" instead of "Local Link". And it works.
But how can do this in footer for example? or in header?
kosmoszen Wrote:Sorry to open another post, but its another problem. Smile
Why when i write a simple link in a component (footer for example), get simple auto adds my local address prefix?
Example, when i write:
Code:
<a href="www.website.com">LINK</a>
getsimple turn it in "www.localsite.com/www.website.com" when i click on it.
I found something on this forum about this topic, but just about the page editor.
So, when i use WYSIWYG editor i can solve this problem choosing "URL" instead of "Local Link". And it works.
But how can do this in footer for example? or in header?

If a link does not start with http(s), the browser will add the server name. If it does not start with a /, it will also add the current directory. You have to specify an external link as "http://www.website.com"!
Code:
<a href="http://www.website.com/">LINK</a>
Ahahah, small problem for a big idiot!
Im not at home now, it will be the first thing i will try.
Anyway, thank you! Smile
well, this is a problem which is not typical for GS, links need the protocol "http"

you might not have noticed it because maybe other applications add that automatically ....