Question about Titles

Discussion in 'Search Engine Optimization' started by pher, Jun 21, 2006.

  1. #1
    I currently use an include file for the top portion of all my pages in my site. This means that every page will have the same title.

    I did a query on my site to see what files were indexed, and noticed that it mentioned something to the effect of displaying 1 page, but you can expand to see the remaining 17 pages that are similar.

    Should I be setting a different title for each page? The site in question is in my signature.

    Thanks in advance.
     
    pher, Jun 21, 2006 IP
  2. ylikone

    ylikone Active Member

    Messages:
    60
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #2
    How are you including the file? If you are doing it via a programming lauguage (like PHP or ASP), it is easy enough to put a variable for the title in your header file... then just change the variable within each page before you "include" the header file.
     
    ylikone, Jun 21, 2006 IP
  3. pher

    pher Well-Known Member

    Messages:
    403
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    125
    #3
    It's a standard include tag
    <!-- #include file="top.aspx" -->
    HTML:
    I could dynamically change the title if need be. The question is, should I be changing the title for each page?
     
    pher, Jun 21, 2006 IP
  4. Travis

    Travis Peon

    Messages:
    539
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I've personally found that it's always better to have different descriptions, titles and keywords for each page, so nothing looks the "same". If you did it with PHP you could do a sort of template thing

    <?php include "top.php"; ?>
    and top.php has <?php echo TITLE ?> for the title, echo KEYWORDS for keywords, and echo DESCRIPTION for the description.

    Then in each individual page you do a rough php block:

    <?php
    define("TITLE", "This is the title for this page");
    define("KEYWORDS", "This are the keywords for this page");
    define("DESCRIPTION", "This is the description for this page");
    ?>

    This has just worked well for me in the past...but it appears that you're using ASP so this won't work for you...but...Just the basic overview for anyone else who may be interested or having the same sort of problem.
     
    Travis, Jun 21, 2006 IP
  5. pher

    pher Well-Known Member

    Messages:
    403
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    125
    #5
    Thanks for the response. I already know how to do it, so that's not an issue. I was kind of hoping that I didn't need to. :p
     
    pher, Jun 21, 2006 IP