kosmoszen
Junior Member
Posts: 5
Joined: Feb 2012
|
Link type
Sorry to open another post, but its another problem. 
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?
|
|
|
|
mvlcek
Posting Freak
Posts: 1,737
Joined: Jan 2011
|
Link type
kosmoszen wrote:Sorry to open another post, but its another problem. 
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"!
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
(This post was last modified: 2012-02-10 07:37:33 by nime.)
|
|
|
|
JoeyDown
Junior Member
Posts: 44
Joined: Feb 2012
|
Link type
Code:
<a href="http://www.website.com/">LINK</a>
|
|
|
|
kosmoszen
Junior Member
Posts: 5
Joined: Feb 2012
|
Link type
Ahahah, small problem for a big idiot!
Im not at home now, it will be the first thing i will try.
Anyway, thank you!
|
|
|
|
Connie
Super Moderator
Posts: 2,683
Joined: Feb 2011
|
Link type
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 ....
|--
Die deutsche GetSimple-Webseite: http://www.Get-Simple.de = the german Get-Simple-Website!
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
|
|
|
|