"Title" Tag, PHP and SEO

Discussion in 'Search Engine Optimization' started by cmcash, Apr 12, 2006.

  1. #1
    Hello,

    First of all, I would like to apology for this simple question, but maybe you can clarify my doubt about it.

    Well, in SEO the 'Title' tag plays an important role. Since I am using dynamic pages (PHP), do you think if I use PHP code to define the title of the page it will have any negative influence in my position on search engines or nothing at all?

    Thanks in advance for your help.
     
    cmcash, Apr 12, 2006 IP
  2. S4M4

    S4M4 Well-Known Member

    Messages:
    76
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    100
    #2
    Once the php code has been executed on your server all that the search engine bots get is a simple html page, so if your php code outputs a valid title tag it will be ok with the search engines.
    I hope I've understood your question!
     
    S4M4, Apr 12, 2006 IP
  3. cmcash

    cmcash Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, I got it right. It was what I think should happen, but just would like to be sure before I go to all pages, change the titles to use php variables, and then get my SERP's destroyed...
    Well, of course the only thing I am thinking to do is to susbstitute:

    <title> My page title here </title>

    by:

    <?php
    echo "<title>" . $title . "</title>";
    ?>

    Well, the variable $title will be passed on the URL address


    Thanks for your help.
     
    cmcash, Apr 12, 2006 IP