Open MarkOlijslagers opened 3 years ago
@MarkOlijslagers did you ever find a solution to this? Im having the same issue with canonical URLs & pagination
@MarkOlijslagers did you ever find a solution to this? Im having the same issue with canonical URLs & pagination
@thomEpps , no we took this for granted. Hopefully this will be fixed in an upcoming release
It might be sufficient to change this line to
return UrlHelper::siteUrl(Craft::$app->request->getFullPath());
I am not aware of counter-issues, I'll open a PR to see if we can close this quickly.
Description
When using {% paginate %} the url's are appended with page numbers like /p1. The canonical tag of the paginated pages are all set without page number.
Additional info