By Philippe on Saturday, 27 June 2020
Posted in Technical Issues
Replies 5
Likes 0
Views 628
Votes 0
Hello,

I noticed that when we defined a custom canonical link in the SEO Panel of the composer, this parameter is taken into account in the Desktop / Mobile version, but not in the AMP version.

See my attachments.

Thank you.
Have a nice weekend
Thanks for reporting this! Definitely a bug and a must fix. Adding this into our issue tracker.
·
Saturday, 27 June 2020 21:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Mark for your quick return !

This new "custom canonical link for individual posts" feature is a really useful one.

Besides, there is another bug for the link to the AMP version, indicated in the desktop / mobile version.
This link does not reflect this canonical link.

It should be :

<link href="/hello-mark?format=amp" rel="amphtml" />
See my capture in attachment.
Philippe
·
Saturday, 27 June 2020 22:00
·
0 Likes
·
0 Votes
·
0 Comments
·
The canonical link has nothing to do with the amphtml tag. The custom canonical option only affects the canonical tag on the headers including the amp and standard html view.
·
Saturday, 27 June 2020 22:23
·
0 Likes
·
0 Votes
·
0 Comments
·
You're right, in principle it has nothing to do with it
However if I want to indicate the canonical url here by adding ?format=amp, which file can I modify ?

I looked in, but I found nothing :
/components/com_easyblog/themes/wireframe/blogs/entry/default.posts.php

Thank you again,
Philippe
·
Saturday, 27 June 2020 22:52
·
0 Likes
·
0 Votes
·
0 Comments
·
The file that you should look at is in /components/com_easyblog/views/entry/view.html.php

Please do keep this ticket to its original question rather than deviating from its original question as this will just make things even more complicated. Especially when we need to trace back the source of the problems from our internal ticketing system.
·
Sunday, 28 June 2020 11:55
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post