Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 20, 20195 yr Hopefully this is the last episode of the sitcom "Me and canonical" (very last season ) When I enable reviews and comments on the record (e. g. event) then I have different canonical tag depending on what tab I am. Reviews When I am viewing the page 3 on the review tab, e g. http://example.com/index.php?/calendar/event/1-bla-bla/&tab=reviews&page=3#reviews the canonical is: <link rel="canonical" href="http://example.com/index.php?/calendar/event/1-bla-bla/&page=3" /> Comments When I am viewing the page 2 on the comment tab, e. g. http://mysite.com/index.php?/calendar/event/1-bla-bla/&page=2&tab=comments the canonical is: <link rel="canonical" href="http://example.com/index.php?/calendar/event/1-bla-bla/&page=2" /> However, this canonical takes me to the second page of the reviews(!) and not comments if requested in browser. The parameter tab is omitted in the canonical and thus the comment tab is never canonical. Probably you can delete canonical for the reviews and comments in events, images, files and other records (3rd party are also impacted) as well to avoid the mess hier.
June 20, 20195 yr Management Leave this with me. Everything I have read states that you should add a canonical to most pages even if they are completely self referencing. The omission of the tab is a real issue though and a simple bug to fix.
June 21, 20195 yr On 6/20/2019 at 6:02 AM, Matt said: The omission of the tab is a real issue though and a simple bug to fix. Matt, I changed in my apps the tabs to COMMENTS and REVIEWS; default used by IPS is REVIEWS and COMMENTS. According to @Sonya*, additionally to the above issue, there's false page (e.g.: I am on the page 6 of reviews, but canonical refers to the page 2, which is comments). So my qustion is: is this hardcoded somewhere? Should I change back my tabs to REVIEWS and COMMENTS? Tks.
June 21, 20195 yr Author @Adriano Faria, i have written in the bug tracker on your site, that I cannot reproduce the error with pages any more. There is only missing tab parameter that mess the canonical in Links Directory right now.
June 21, 20195 yr 1 minute ago, Sonya* said: @Adriano Faria, i have written in the bug tracker on your site, that I cannot reproduce the error with pages any more. There is only missing tab parameter that mess the canonical in Links Directory right now. Sorry, missed that post. Tks. 👍
Archived
This topic is now archived and is closed to further replies.