amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

In amp-story ,the Get Link in share option for http (Without SSL Certificate) website, it copies wrong url

Open Avdhoot05 opened this issue 6 years ago • 2 comments

In amp-story ,the Get Link in share option for http website, it copy wrong url for all browser. Here are some examples:- http://learn.travclan.com/how-to-sell-maldives http://learn.travclan.com/learn-to-sell-singapore-easiest-way

but it works fine for website with SSL certificate(https) https://travel.visualstories.com/10beautiful-buddhist-temples-in-thailand-worth-a-trip

Please see attached screenshot WrongGetLinkCopy

Avdhoot05 avatar Jan 29 '20 12:01 Avdhoot05

I believe this is a bug in the page. The canonical URL for the page is:

<link rel="canonical" href="http//learn.travclan.com/learn-to-sell-singapore-easiest-way">

The colon after the http protocol is missing. It should be:

<link rel="canonical" href="http://learn.travclan.com/learn-to-sell-singapore-easiest-way">

@Avdhoot05 can you try fixing this and seeing if it corrects the issue?

newmuis avatar Jan 29 '20 16:01 newmuis

@newmuis Thanks! It's working.

Avdhoot05 avatar Jan 29 '20 17:01 Avdhoot05