wakabayashi Posted August 27, 2017 Posted August 27, 2017 Hello When I go on a cms page I havethe following canonical tag in the head: <link rel="canonical" href="https://www.spielezar.ch/index.php?controller=cms"> On the live demo store, it's the same. What is this about? Looks like a bug to me.
0 yaniv14 Posted August 27, 2017 Posted August 27, 2017 By looking at getSeoFields() in FrontController I can see we are missing a case for 'cms' and 'cms_category'. So it actually goes to default, and thats why you have a wrong canonical link.
0 yaniv14 Posted August 29, 2017 Posted August 29, 2017 I can do a PR's with a fix, but I am not sure whats the correct way. Should we remove canonical tag from cms pages?, whats the point of having a canonical tag of page with no similar content page? Maybe Lesley can answer to that. Is it a bad practice to have canonical tag pointing to the same page?
0 lesley Posted August 29, 2017 Posted August 29, 2017 I would leave it and fix it. Its always good practice to have a canonical url on a page, most will actually point to themselves as well.
0 yaniv14 Posted August 29, 2017 Posted August 29, 2017 https://github.com/thirtybees/thirtybees/pull/344/commits/ae627413a16f41c3667658eb934b171e86647297
Question
wakabayashi
Hello
When I go on a cms page I havethe following canonical tag in the head:
<link rel="canonical" href="https://www.spielezar.ch/index.php?controller=cms">
On the live demo store, it's the same. What is this about? Looks like a bug to me.4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now