By Hara Kim on
Hello I am trying to figure out how to change my homepage title from "sitename" | "slogan" to "slogan" | "name".
I noticed that every other page it has the "page title" | "sitename" except on the homepage it does it reversed..
Can anyone tell how to change the settings for the home page only or what files I would be able to edit thanks!
Comments
Depends
If you want to change just the homepage, I'd suggest doing it at the theme level.
In page.tpl.php (assuming that you're using a PHPtemplate theme and in Drupal 5), look for this line
<title><?php print $head_title ?></title>And change it to something like:
<title><?php if ($is_front) {print $site_slogan . ' | ' . $site_name;} else print $head_title ?></title>If you want seriously granular control over the 's of your site, try this module: http://drupal.org/project/page_title
http://CrookedNumber.com
I tried what you said but it
I tried what you said but it didnt seem to work but it didnt mess anything up either..
Webmaster Blog -Internet Marketing & Seo Information
Hmmm...
I'd first try refreshing several times -- just to make sure that you not looking at a cached version.
Then -- ON A TEST SITE -- try something like:
to start the de-bugging.
p.s. -- I just tried the above code on a test site. And it worked fine.
http://CrookedNumber.com
Themes configuration
Have you enabled the slogan display in the Themes -> Config?
it's work best answer
thanks .. it's work with me
http://www.wawlingo.com/