Change home page title
- elwalker
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
17 years 4 months ago #1708
by elwalker
Hi again. I still can't edit my home page title to make it more search engine friendly. I'm successfully using alias on other pages, but this home page title has got me stumped. I've tries a suggested change to includes/joomla.php but I couldn't get it to work. Do you have any new ideas?
Please Log in or Create an account to join the conversation.
- martialedge
-
- Offline
- New Member
-
Less
More
- Thank you received: 0
17 years 4 months ago #1733
by martialedge
I'm also having the same problem.. its most annoying as obviously having the home page optimised is one of the key reasons we purchased this software....
Please could someone let us know how to do this (or explain how to hard code it if its not possible)...
Thanks
Martial Edge Team
www.martialedge.net
Please could someone let us know how to do this (or explain how to hard code it if its not possible)...
Thanks
Martial Edge Team
www.martialedge.net
Please Log in or Create an account to join the conversation.
- elwalker
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
17 years 4 months ago #1736
by elwalker
Hi there. I had to get someone with more knowhow than me to do this for me. I don't wholly understand how he achieved it but my home page is now how I want it. It is indeed something to do with includes/joomla.php
Please Log in or Create an account to join the conversation.
- joomla
-
- Offline
- New Member
-
Less
More
- Thank you received: 0
17 years 4 months ago - 17 years 4 months ago #1737
by joomla
Search for this line in file includes/joomla.php:
$this->_head = $title ? $GLOBALS . ' - '. $title : $GLOBALS;
and replace with
if ( $title == 'Home' ) { $title = null; }
$this->_head = $title ? $GLOBALS . ' - '. $title : $GLOBALS;
or (for opposite titles)
if ( $title == 'Home' ) { $title = null; }
$this->_head = $title ? $title . ' - ' . $GLOBALS : $GLOBALS;
$this->_head = $title ? $GLOBALS . ' - '. $title : $GLOBALS;
and replace with
if ( $title == 'Home' ) { $title = null; }
$this->_head = $title ? $GLOBALS . ' - '. $title : $GLOBALS;
or (for opposite titles)
if ( $title == 'Home' ) { $title = null; }
$this->_head = $title ? $title . ' - ' . $GLOBALS : $GLOBALS;
Last Edit: 17 years 4 months ago by joomla.
Please Log in or Create an account to join the conversation.
- martialedge
-
- Offline
- New Member
-
Less
More
- Thank you received: 0
17 years 4 months ago #1742
by martialedge
Hi,
I already change the code in joomla.php as you suggest but its not work. Do you have any suggestion?
Thanks in advance
I already change the code in joomla.php as you suggest but its not work. Do you have any suggestion?
Thanks in advance
Please Log in or Create an account to join the conversation.
- joomla
-
- Offline
- New Member
-
Less
More
- Thank you received: 0