Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Link type
#1
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?
Reply
#2
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"!
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
#3
Code:
<a href="http://www.website.com/">LINK</a>
Reply
#4
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
Reply
#5
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 ....
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply




Users browsing this thread: 1 Guest(s)