Hi All,

I am having some SEO issues with my public pages that are using better exposed filter module. The problem is that I have some links to the page with the values in order to initialise the filter pattern. At the same time, I would like to be able to use different filters to send to google bots different web pages.

Google crawler are following these links and they report me that titles are similar for different urls.

Is there any way to change the title according to the url parameter?

My urls generated are quite similar to this one:

I would like to be able to add to the title tag the value of the term 16454.

Thanks heaps


imoreno’s picture

Looking for this functionality as well.
Did you manage to do it?


javier.drupal.2012’s picture

Hi, sorry, I am still waiting for a great solution
Best Regards

mikeker’s picture

Status: Active » Closed (won't fix)

Apologies for the delayed reply. This is out of the scope of the BEF module.

What you are looking for can be handled in a lot of different ways, for example, in a theme's template.php file's preprocess_page() function.

mikeker’s picture

Sorry, I was a bit quick with my previous comment. If you want to change the Drupal page title (what's usually printed in an h1 tag), you can use hook_preprocess_page(). If you want to affect the title tag from the html head element, you need to use hook_preprocess_html.


function hook_process_html(&$variables) {
  if (!empty($variables['head_title']) && $uri = request_uri()) {
    $variables['head_title'] .= " ($uri)";

(change "hook" to the name of your template or module).