Skip to main content
edited tags
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284
edited tags
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284
Source Link
Cesar
  • 942
  • 1
  • 10
  • 32

Title in page does not change with different page of the same View

I have a View which displays a list of content. The content is paged, like this

http://www.exampple.com/en/products?product=all&brand=0&page=4

I keep the parameter page as exactly provided by default View pager. However, when clicking on different pages, the TITLE of the page does not change, it is "Products | WEBSITE_NAME" all the time. I would have expected the page number to be added automatically, as the site domain name is. For instance:

 "Products Page 1 of 3 | WEBSITE NAME"

Is there a module or a config to achieve this, or must I do it through a hook and drupal_set_title function in my custom module ?

The above different title for each page is necessary to avoid SEO penalization by Google and other seo bots.