Solved Media Gallery albums have broken canonical link

alex_s

Licensed
Licensed
SEO Optimization
Joined
Aug 24, 2021
Messages
1
Reaction score
1
I've discovered that the canonical link ref generated for MG media albums is resulting in a broken link (discovered when reviewing with SEO tools). I verified that this seems to happen only when I've enabled the Add-on and goes back to a proper canonical URL when disabled. The bad link is identical for all MG albums.

Bad link header:
HTML:
<link rel="canonical" href="https://example.com/albums?page=1" />

Proper link header when Add-on disabled:
HTML:
<link rel="canonical" href="https://example.com/media/albums/bobs-media.1234/" />

As noted on the XF discussion thread, this has been confirmed as a bug. Looking forward to a fix!

Thank you.
-Alex
 

SyTry

Administrator
Staff member
Administrator
Moderator
Licensed
Joined
Jul 8, 2019
Messages
485
Reaction score
225
Hello,

Sorry for the delay. This is now fixed in the 2.6.0 version! ;)

Regards, SyTry
 
Top Bottom