Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Canonical link is different between version 1.4.5 and 1.4.6

Started by laurent 8 years ago · 2 replies · 565 views
8 years ago

Hi,

Have you an idea, why canonical link display is different between versions:
<link rel="canonical" href="{{ page.url(true, true) }}" />

Version1.4.5
<link rel = "canonical" href = "https://www.domain.com" />

Version1.4.6
<link rel = "canonical" href = "http://www.domain.com:443" />

Thanks

8 years ago

@teamraider13 I am using the exact same code but do not get the port appended to the url.

Have you tried 1.4.7?
Could it be a conflicting plugin?

My config is relatively clean:

  • Grav 1.4.7 (but haven't seen issues on 1.4.6)
  • Only pre-installed plugins plus:
    • devtools
    • sitemap
    • my own home grown plugins
  • Theme is home grown.

There is a closed issue logged mentioning the port being appended to the url, but not sure if that relates to your issue. The specific issue is closed due to inactivity and a resolved other issue.

NB. Is the use of http in 1.4.6 a typo or did you intentionally switch back from https?

last edited 07/27/18 by pamtbaau
8 years ago

@pamtbaau
Thanks for your answer
My installation is 1.4.6 with the following plug-in:
Breadcrumbs
Customadmin
contacts
DevTools
error
Markdown Notices
problems
Sitemap
Theme is home.

It's not a typo, it's actually "http"

I had never had this before.
I am in SSL on OVH mutualised multi site. And it does this on all sites.
Regards

Suggested topics

Topic Participants Replies Views Activity
Support · by BenLaKnet, 5 days ago
1 121 2 days ago
Support · by BenLaKnet, 1 week ago
5 195 2 days ago
Support · by kskt, 2 days ago
0 44 2 days ago
Support · by David Meissner, 3 days ago
0 43 3 days ago
Support · by David Meissner, 3 days ago
3 92 3 days ago