Changing <title> fields
Posted: 29 Mar 2009, 14:50
Hi
To optimize ranking of search engines, i am looking for the way to insert the full path of the picture in the title tag of each page, for example:
For a given file path
Where animals Folder Title is Animals
Where dogs Folder Title is Dogs
Where my_dog.jpg Folder Title is My Dog
i would like to get in my page title
instead of
When you are in a folder, you get
but when you are in a picture you get
I wish i could get the full Titles Path in my HTML page title tag using all folder titles and file title
Is it just a PHP variable to insert in <title> tag of index.gallery.phtml or is it more complicated?
To optimize ranking of search engines, i am looking for the way to insert the full path of the picture in the title tag of each page, for example:
For a given file path
Code
content/animals/dogs/my_dog.jpgWhere dogs Folder Title is Dogs
Where my_dog.jpg Folder Title is My Dog
i would like to get in my page title
Code
SiteTitle + FolderTitle + [...] + FolderTitle + FileTitleCode
SiteTitle + FileTitleCode
SiteTitle + FolderTitleCode
SiteTitle + FileTitleCode
My Gallery Title - Animals - Dogs - My Dog