Forums / General Questions / Canonical points to redirect for Reviews pages

Canonical points to redirect for Reviews pages

Started by dml73 on 4 Dec 2024, 7:19 AM · Views: 2,303

Results 1 to 4 of 4
4 Dec 2024, 7:19 AM
#1
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
416
Plugin Contributions:
0

Canonical points to redirect for Reviews pages

I'm getting a lot of "Canonical points to redirect" issues when checking my site using Ahrefs.com site audit, for my Reviews pages. See image as example for one page. Are these something to worry about, and if so, how could I correct this?

Attachment 20813

4 Dec 2024, 11:58 AM
#2
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,329
Plugin Contributions:
41

Re: Canonical points to redirect for Reviews pages

The review for PCMCIA Serial Card (RS232) does point to

index.php?main_page=product_reviews_info&products_id=251

which is the "all reviews" page for the product instead of

index.php?main_page=product_reviews_info&products_id=251&reviews_id=197

A site I host using 1.5.7 has the following

index.php?main_page=product_reviews_info&products_id=196&reviews_id=3

is the link, and this is the page's canonical

index.php?main_page=product_reviews_info&products_id=196

A version 2.0.1 site has the following link

index.php?main_page=product_reviews_info&products_id=42484&reviews_id=915

and canonical

index.php?main_page=product_reviews_info&products_id=42484

So it would appear the canonical incorrectly points to the all reviews page for the product. This is okay when it's a sorting situation, but this is not. These canonicals are genuinely incorrect.

~Melanie

4 Dec 2024, 12:10 PM
#3
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,139
Plugin Contributions:
56

Re: Canonical points to redirect for Reviews pages

Yep, that's been wrong in the includes/init_includes/init_canonical.php for some time now. I've created a GitHub issue for tracking: https://github.com/zencart/zencart/issues/6879

Thanks for the report!

4 Dec 2024, 12:11 PM
#4
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
416
Plugin Contributions:
0

Re: Canonical points to redirect for Reviews pages

Very interesting, thank you.