By LeMale on
Hi,
I need your help,
I have 5 views on a site with links to this views, google report me that there is duplicate meta descriptions on this pages, how can I set a unique meta description for eatch view ?
Best regards,
Hi,
I need your help,
I have 5 views on a site with links to this views, google report me that there is duplicate meta descriptions on this pages, how can I set a unique meta description for eatch view ?
Best regards,
Comments
Are these page views?
If so, you'll need to create a custom page template for your views page, and hardcode the meta tags in there. This will also work if you want the page title to be more SEO-friendly than the title of the view.
Go to sites/all/themes/(your theme) and find page.tpl.php. Make a copy of this file, but rename it with the Drupal URL of the page view.
Example: My page view was at content/projects. So I renamed the file page-content-projects.tpl.php.
Then you can open up your new page template file in your code editor and drop in those meta tags in the head.
This isn't the greatest solution, because if you ever switch or alter your theme, you'll have to fix up your custom template as well, but it will get the job done.