#1
  1. Super Moderator
    SEO Chat Super Hero (2500 - 2999 posts)

    Join Date
    Aug 2003
    Location
    Vancouver, Washington, U.S.A.
    Posts
    2,578
    Rep Power
    669

    double title tags


    I use global includes for my website. One of them contains title and the meta descriptions. I found that if I put a title tag before the cf include it appears to override the second title tag. This is covenient because My global includes allow me to have the same title and meta and such on every page of my site. and I can change them globally. but I can put in this alternate title for pages that I want to optimize for specific keyword phrases without changing the whole page.
    This seems ok to me does anybody see any problems with it?
  2. #2
  3. Contributing User
    SEO Chat Genius (4000 - 4499 posts)

    Join Date
    May 2003
    Location
    Brighton
    Posts
    4,103
    Rep Power
    23
    no aslong as the HTML output dosnt have double title tags. that would be bad.

    -PK
  4. #3
  5. Super Moderator
    SEO Chat Super Hero (2500 - 2999 posts)

    Join Date
    Aug 2003
    Location
    Vancouver, Washington, U.S.A.
    Posts
    2,578
    Rep Power
    669
    the way that it shows live is (title) my title(/title) which is displayed as the title of the page then there is in the code (title)my global title(/title) then the rest as usual so viewing the source would display two separate titles but the visitor only sees the right one. I'll have to see how google picks it up.
  6. #4
  7. Contributing User
    SEO Chat Genius (4000 - 4499 posts)

    Join Date
    May 2003
    Location
    Brighton
    Posts
    4,103
    Rep Power
    23
    Google knows to look for the (title) tags and is programmed to retrieve this info specifically. useing two might and most likely will set of some warning and could get you banned.

    -PK
  8. #5
  9. Super Moderator
    SEO Chat Super Hero (2500 - 2999 posts)

    Join Date
    Aug 2003
    Location
    Vancouver, Washington, U.S.A.
    Posts
    2,578
    Rep Power
    669
    I would sue their *** off. it is purely functional and not for spamming. Good point though
  10. #6
  11. Contributing User
    SEO Chat High Scholar (3500 - 3999 posts)

    Join Date
    Mar 2003
    Location
    Louisiana, USA
    Posts
    3,874
    Rep Power
    24
    there's a better way to handle it. i don't know how many pages your site has, so that would determine the method here. if only a few pages you could get away with cfif or case statements. if lots of pages, use a database to keep track. in any case for simplicity sake, i'll use cfif here.
    [cfif cgi.path_info contains "index.cfm"]
    [title]This is my index page title[/title]
    [cfelseif cgi.path_info contains "about.cfm"]
    [title]This is my about us title[/title]
    etc....
  12. #7
  13. Head Honcho
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    Jul 2003
    Location
    Chicago, IL
    Posts
    556
    Rep Power
    16
    I use this technique. I have never had any problems, even when my pages load two different/identical titles.

Similar Threads

  1. href Title tags
    By vertygo in forum Link Development
    Replies: 13
    Last Post: Oct 4th, 2010, 09:30 AM
  2. title tags in links
    By JoeBob in forum Google Optimization
    Replies: 24
    Last Post: Jan 26th, 2004, 12:20 AM
  3. Title tags
    By leedslad73 in forum Google Optimization
    Replies: 13
    Last Post: Jan 15th, 2004, 06:17 PM
  4. more on title tags
    By googler in forum Google Optimization
    Replies: 1
    Last Post: Nov 6th, 2003, 01:48 AM
  5. Title and Description Tags
    By cityneil in forum Google Optimization
    Replies: 9
    Last Post: May 7th, 2003, 10:04 AM

IMN logo majestic logo threadwatch logo seochat tools logo