Skip to main content
catherinew95209140
Participant
February 12, 2020
Question

trouble with links to web pages

  • February 12, 2020
  • 4 replies
  • 889 views

I am having trouble with simple links to external web pages not working on 2020

This is the code… to link to a site from an image:

      <a href="https//www.ckspeech.com">ckspeech.com</a></h2><br>

or

      <a href="https//www.sage-clinic.com">sage-clinic.com</a></h2><br>

it is adding the url of the base webpage in front of the simple URL. 

https://juliahobbs.com/https//www.sage-clinic.com

I have tried several alternatives...adding in the complete url:  https://www.ckspeech.com   and it still doesn't work.

 program adding in https://www.juliahobbs.com in front of the correct link?

h

e

l

p

thanks

Why is the

This topic has been closed for replies.

4 replies

Jon Fritz
Community Expert
Community Expert
February 13, 2020

You have MAD, Missing Apostrophe Disorder. It's a condition caused by not being able to see the single missing character in a block of code that causes it to fail, driving you up a wall. 

If the code you posted above is what you're actually using on your site, it is malformed.

You are missing the : between the http and the // 

 

Without it, the links won't work correctly.

hans-g.
Legend
February 13, 2020

Hello Catherine,

 

if I understand you in the correct way, your problem is "to link to a site from an image", ok? Here is my code, I use in this case (Please use your image-names and pathes):

<h2>

<a href="sage-clinic.php"><img src="yourImages/sage-clinic.jpg" width="yourWidth" height="yourHeight" alt="Sage-Clinic"/></a><br>
</h2>

 

All the best

Hans-Günter

hans-g.
Legend
February 13, 2020

... this <h2> and </h2> is not necessary here. ;-)))

Nancy OShea
Community Expert
Community Expert
February 13, 2020
  • Critical code errors can cause unexpected behavior in DW.
  • Is your Document free of errors -- denoted by a green checkmark in a circle? 
  • If you see a red X in a circle, you have code errors that need attention. 

 

 

Nancy O'Shea— Product User & Community Expert
catherinew95209140
Participant
February 12, 2020

I have tried seveeral versions of the url...adding in the https:// before or leaving it out. Neither works.

 

BenPleysier
Community Expert
Community Expert
February 12, 2020
<a href="https//www.ckspeech.com">ckspeech.com</a>

This is the correct way, in other words, there is nothing wrong with what you have shown.

 

Could it be that an absolute positioned element is blocking access to the link?

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!