how to change page title ?
- cassedu
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
16 years 7 months ago #3351
by cassedu
Hi,
I'd like to get page titles like this "page title" - "site title" to get better SEO
i run joomla 1.57 and SEF advance last release
Could you help me with this ?
thanks
thomas
I'd like to get page titles like this "page title" - "site title" to get better SEO
i run joomla 1.57 and SEF advance last release
Could you help me with this ?
thanks
thomas
Please Log in or Create an account to join the conversation.
- Saka
-
- Offline
- Administrator
-
16 years 7 months ago #3352
by Saka
Emir Sakic
www.sakic.net
SEF Advance can only change titles for manually added alias.
For automatic manipulation of titles you would need to use some other plugin or modify core.
For automatic manipulation of titles you would need to use some other plugin or modify core.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- cassedu
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
16 years 7 months ago #3353
by cassedu
for those interested in such modifications, I finally found it.
you have to modify your index.php file in your template folder.
In my template, It was:
// set title
$this->setTitle($this->getTitle() . ' - ' . $mainframe->getCfg('sitename'));
instead of
$this->setTitle($mainframe->getCfg('sitename') . ' - ' . $this->getTitle());
Good luck
Thomas
you have to modify your index.php file in your template folder.
In my template, It was:
// set title
$this->setTitle($this->getTitle() . ' - ' . $mainframe->getCfg('sitename'));
instead of
$this->setTitle($mainframe->getCfg('sitename') . ' - ' . $this->getTitle());
Good luck

Thomas
Please Log in or Create an account to join the conversation.