Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Strange occurence with random link feature V2.0

Quote Reply
Strange occurence with random link feature V2.0
When I click random link, it usually works, but occasionally I get my own servers "404 not found" page. I don't think this is a faulty link. It usually shows up about every third click. Any Ideas?

------------------
http://www.serve.com/garden/links
http://www.serve.com/garden/aaron
http://www.serve.com/garden/board
Quote Reply
Re: Strange occurence with random link feature V2.0 In reply to
Hi Aaron,

This is often the case if the URL is not a full URL (or perhaps a mailto: URL). For instance if you have 'www.somelink.com' instead of 'http://www.somelink.com' when the person tries to go to that URL you'll go to:

http://myserver.com/links/www.somelink.com

You always need full URL's with http://

Cheers,

Alex
Quote Reply
Re: Strange occurence with random link feature V2.0 In reply to
Then maybe the question should be....
Is there a way to automatically include the http:// in the url field on the add resource page?

------------------
http://www.serve.com/garden/links
http://www.serve.com/garden/aaron
http://www.serve.com/garden/board
Quote Reply
Re: Strange occurence with random link feature V2.0 In reply to
Sure. Just add VALUE="http://" to the add form. This is either in site_html.pl or in the add form template in the templates directory.

Cheers,

Alex