cancel
Showing results for 
Search instead for 
Did you mean: 

Absolute URL links on webpage

N/A

Absolute URL links on webpage

I can't seem to set up absolute (as opposed to relative) URL links on my webpage, so as to link to an offsite URL. Such links set up in the HTML get preceded by my own domain name when the page is viewed in the browser. Viewing the source HTML shows the link as it should be, but invoking `properties' shows the link as an appendage to my domain name (i.e. relative). Specifically, in http://www.webs-of-intrigue.co.uk/exhibitions.htm there is meant to be a link to http:/www.derby.gov.uk/museums, and the full URL is included in the HREF statement, which should make it absolute, but go there and see what happens.

I'm baffled :?

Mick Pearce pp rmlee
4 REPLIES
N/A

Absolute URL links on webpage

You are missing a slash in the link.

You have used http:/www rather than http://www
Community Veteran
Posts: 14,469
Registered: 30-07-2007

Absolute URL links on webpage

I suspect:

http:/www.derby.gov.uk/museums/

Should be

http://www.derby.gov.uk/museums/

a URL starts http:// and because you only have one /, it is not seeing it as a absolute URL but a local one.
N/A

Absolute URL links on webpage

It's always something really small that makes you look an idiot Smiley

Thanks for the speedy reply folks -- I guess I should have seen that myself. I'll make the changes ASAP.

Mick pp rmlee
N/A

Absolute URL links on webpage

Don't worry, that happens to the best of us, and often.

What is worse is knowing what the problem is, staring at it for 30 mins and keep going through the usual syntax checks in your head, yet you still don't see.

Then you find yourself being an idiot and asking sombody else, only to spot it after asking Cheesy