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:
searcher?field_tareas_a_realizar_tid[]=16454&shs_term_node_tid_depth=All&term_node_tid_depth=&circle_op=<&circle[value]=&circle[location]=
I would like to be able to add to the title tag the value of the term 16454.
Thanks heaps
Javier
Comments
Comment #1
imoreno commentedHi,
Looking for this functionality as well.
Did you manage to do it?
BR
Itzhak
Comment #2
javier.drupal.2012 commentedHi, sorry, I am still waiting for a great solution
Best Regards
Comment #3
mikeker commentedApologies 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.
Comment #4
mikeker commentedSorry, I was a bit quick with my previous comment. If you want to change the Drupal page title (what's usually printed in an
h1tag), you can usehook_preprocess_page(). If you want to affect thetitletag from the htmlheadelement, you need to usehook_preprocess_html.Eg:
(change "hook" to the name of your template or module).