Dynamically give title for pages

rekha's Avatar
Contributor
Hi,

I want to give title dynamically for every pages.I have a header.php page where I put the title as follows,

<title><?php if (defined ('TITLE')) {
print TITLE;
}
?></title>

In every page I defined the title as

define ('TITLE', title goes here');

It is working fine for me.But I don't know whether it gets indexed or google will ignore it.Or Is there any better sloution to change the title dynamically.Pls help.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
It does not matter to Google how you give the title and if your final HTML is fine Google should be fine.
0
rekha's Avatar
Contributor
Oh ok.Thanks a lot
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
The pleasure is all mine.