-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
canonical #1472
Comments
Agreed |
There sohuld be only one url per page. |
What I mean is, canonical should be set for only one version of the page and the others should set that value too. |
So what should canonical be set to by default? |
To the marketable path; if allowed. I've got half a patch. |
Here's my half done patch. Would somebody else like to take this and improve it please? resolve/refinerycms@2-0-stable...canonical Check out branch |
Fixes refinery#1472 Conflicts: pages/app/models/refinery/page.rb
There are about 3 different urls for every page:
/pages/mypage
/parent/mypage
/mypage
and all these can have an additional slash at the end. So I think it would be great if https://github.com/resolve/refinerycms/blob/master/core/app/views/refinery/_head.html.erb#L7 canonical would be set for all pages.
The text was updated successfully, but these errors were encountered: