MG 2.0 Gallery canonical URL?

tonmo

Well-known member
After reviewing the Google Search Console and associated help, I want my gallery to declare its canonical URLs.

The following code is from member_list. Would it be advisable to add something like this to xfmg_gallery_wrapper to accomplish this? Not exactly sure how this works so any guidance appreciated.

Code:
<xf:macro template="metadata_macros" name="canonical_url" arg-canonicalUrl="{{ link('canonical:members/list', null, {'page': $page}) }}" />
 
Back
Top Bottom