Re: Different page title and Description.
I assume this is for a PHP designed website?
Would be more helpful if we knew what site and what data is in the database really so we know what we had to work with on this.
But for a dynamic page you just call for a variable and it will be correct for each page then. For example:
lets say file name is
cars.php
Title would be.
<title>This page lists all the <?php echo $colour; ?> cars available.</title>
Then lets say its the red cars page title would be actually show as in the source code
<title>This page lists all the red cars available.</title>
But if it were the blue cars page it would show as
<title>This page lists all the blue cars available.</title>
But it really depends on the situation and how the site is designed, for example if you use a template file for the design then you will need to setup a variable title which is then set in another file depending on which page is called for, really does depend on the situation and not easy to explain without knowing more.
Last edited by johneva; 02-16-2011 at 10:03 AM.
|