I just checked my Google Webmaster Tools and got several hundred warnings on Duplicate titles. All of them were the pictures with the same titles: i.e. Hot Women | Example.com which had around 100 pictures.

Is there any way we can set the file name to be included in the Title?

thanks in advance.

Comments

dailypress’s picture

anyone?

esbon’s picture

You can avoid avoid this problem by installing the Global Redirect and pathauto modules. Global Redirect will cause your node numbers to be redirected to your autopath URLs.

dailypress’s picture

that still doesnt work for the Album section.

nathaniel’s picture

Category: feature » support
Status: Active » Closed (fixed)

I think you will need to modify the template file(s).

Copy node.tpl.php into your theme folder and rename to:
node-photos.tpl.php
and/or copy the following from the photos/tpl folder into your theme folder and edit as needed:
photos_imageview.tpl.php

You can also use drupal_set_title() and set the title to something different.