Change Title, Description and Meta on homepage only
Submitted by npaitken on Tue, 2009-01-27 21:14 in Price Tapestry
Hi David,
I'd like to hard code my Title, Description and Meta Tags on my Price Tapestry installation homepage. Can you advise on how I can do this such that it only affects the homepage.
Hi Neil,
Sure - in index.php, look for the following code on line 4:
require("html/header.php");
...and REPLACE this with:
$header["title"] = "Your Title Here";
$header["meta"]["description"] = "Your description here";
$header["meta"]["keywords"] = "Your, Keywords, Here";
require("html/header.php");
You can add any other meta tags as required - just copy the format for the description and keywords lines...
Cheers,
David.