Highlighted

trouble with links to web pages

Community Beginner ,
Feb 12, 2020

Copy link to clipboard

Copied

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

TOPICS
Error

Views

553

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

trouble with links to web pages

Community Beginner ,
Feb 12, 2020

Copy link to clipboard

Copied

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

TOPICS
Error

Views

554

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 12, 2020 0
Community Beginner ,
Feb 12, 2020

Copy link to clipboard

Copied

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

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 12, 2020 0
Adobe Community Professional ,
Feb 12, 2020

Copy link to clipboard

Copied

<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?


Ben

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 12, 2020 0
Adobe Community Professional ,
Feb 12, 2020

Copy link to clipboard

Copied

  • 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, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 12, 2020 0
Adobe Community Professional ,
Feb 13, 2020

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 13, 2020 1
Adobe Community Professional ,
Feb 13, 2020

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 13, 2020 0
Adobe Community Professional ,
Feb 13, 2020

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 13, 2020 2