Auto meta data and <title> tag in cre loaded....

Discussion in 'PHP' started by mikeid22, Dec 9, 2008.

  1. #1
    Hi!

    I am after a bit of advice here guys...

    I want to tweak my cre loaded install to show the product name in both the title and meta keywords tag... Anyone got any ideas how to do this?

    I don't want it to affect the categories pages, just the product ones...

    So, if you guys have any ideas how to do this, let me know :)

    Mike
    Ps. I free google news story for the person to give me the best instructions on how to do this! (I am not a coder, but my copy/paste is of a very high standard ;-) - Oh, and I always backup, so no harm can be done!)
     
    mikeid22, Dec 9, 2008 IP
  2. cijoaj2003

    cijoaj2003 Banned

    Messages:
    319
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use this code <?php include "title.php";?> if you have a PHP based Server as well as .php extension

    and give the Title in title.php file

    <title>XXX</title>

    Replace XXX with appropriate product Title.


    Using the GET method if you are passing the URL then you can have the same Meta tags for all your product pages and you can display it.

    For same Title statically give it
    in meta to all pages

    <meta><title>sdnsnd</title></meta>

    Replace sdnsnd with appropriate product Title.

    Hope your problem will be resolved .
     
    cijoaj2003, Dec 9, 2008 IP