Skip to main content
catherinew95209140
Participant
Feb 12, 2020 11:33 PM UTC
Question

trouble with links to web pages

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 is closed to new replies. Start a new post to keep the conversation going.

6 replies

Jon Fritz
Community Expert
Community Expert
Feb 13, 2020 1:42 PM UTC

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.

Translate
hans-g.
Legend
Feb 13, 2020 8:59 AM UTC

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

Translate
hans-g.
Legend
Feb 13, 2020 11:24 AM UTC

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

Translate
Nancy OShea
Community Expert
Community Expert
Feb 13, 2020 1:38 AM UTC
  • 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. 

 

 

Translate
Nancy O'Shea— Product User & Community Expert
catherinew95209140
Participant
Feb 12, 2020 11:35 PM UTC

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

 

Translate
BenPleysier
Community Expert
Community Expert
Feb 12, 2020 11:45 PM UTC
<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?

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