2

I'm using the Meta Tags Module and it has been a solid way to add meta tags throughout the site - especially the increasingly important Canonical URL meta tag.

I'm having trouble adding the same tag to views connected to a static page.

How can I add a canonical URL to some views pages?

3

I'm assuming you're using Drupal 7.x and the latest alpha version of the Meta Tags module, correct? They are still working out the views integration functionality for this module but there is a sandbox project for this issue called 'meta tag views'. In Drupal 6.x nodewords, this was easier to do based upon path by just adding a custom entry at: /admin/content/nodewords/meta-tags/custom/add.

In the meantime, you can try the metatags_quick module which lets you assign meta tags to specific paths. You would need to add the 'canonical url' as a possible field but the interface is simple to use.

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.