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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Canonical link is different between version 1.4.5 and 1.4.6

Started by laurent 8 years ago · 2 replies · 515 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 Thomas, 1 week ago
2 51 8 hours ago
Support · by Anna, 2 days ago
2 58 10 hours ago
Support · by Justin Young, 11 hours ago
1 30 11 hours ago
Support · by Duc , 1 week ago
2 63 5 days ago
Support · by Colin Hume, 1 week ago
2 55 5 days ago