954,198 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Hyperlink troubles

For some reason when I insert a hyperlink in Dreamweaver MX and upload the page it does not work. The link should take me to my friends site, but when you click the link it tries to find my friends site inside of my site as if it were a page in my site. That causes it to go to "page cannot be displayed". Any thoughts on why it is doing this would greatly help me out.

Thanks

ATS
Light Poster
41 posts since Jun 2006
Reputation Points: 10
Solved Threads: 1
 
... when you click the link it tries to find my friends site inside of my site...


That is how I understand link to work, when you click on them they find the destination and display it.as if it were a page in my site.
Or did you mean it tries to open the destination (your friend's site) in a frame on your web page?That causes it to go to "page cannot be displayed". Any thoughts on why it is doing this would greatly help me out.
We would probably have to see your tag, but the most likely cause would be that you have it pointing as a relative reference, rather than an absolute reference.

DavidRyan
Posting Whiz in Training
229 posts since Jul 2006
Reputation Points: 22
Solved Threads: 11
 

Dreamweaver defaults to using relative URLs, so that is probably the problem.

cscgal
The Queen of DaniWeb
Administrator
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 

How do I change it from a relative URL?

ATS
Light Poster
41 posts since Jun 2006
Reputation Points: 10
Solved Threads: 1
 

The second hit on googling:[indent] how to change a relative url into an absolute url[/indent]
Was here .

DavidRyan
Posting Whiz in Training
229 posts since Jul 2006
Reputation Points: 22
Solved Threads: 11
 
The second hit on googling:[indent] how to change a relative url into an absolute url[/indent] Was here .


Oh, for Pete's sake...

instead of <a href="page.htm">relative link to page</a>

you would use <a href="http://www.yoursite.com/page.htm">absolute link to page</a>

FC Jamison
Posting Pro in Training
Team Colleague
446 posts since Jun 2004
Reputation Points: 92
Solved Threads: 21
 

I figured it would help if he read the article as well.

DavidRyan
Posting Whiz in Training
229 posts since Jul 2006
Reputation Points: 22
Solved Threads: 11
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: