0

I'm using Metatag and Printer, email and PDF versions modules, and I want to have the canonical link on the print version of the nodes too, but for some reason they're only showing on the regular version.

I'm not sure if the Print module is removing it. Even if I manually add the canonical link, it shows duplicated on the regular version but not in the print version.

Any idea about what's going on?

0

I solved the issue by adding a canonical link via hook_html_head_alter().

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.