Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Dec 2005
    Posts
    346
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Odd Meta Tags quesiton

    I have an odd question about meta tages. Instead of having the meta tages written in the <head> of every page put them in a txt file & make them required. Somthing like this below. I did this & then viewed the page source. It show the meta tages, but would this work for like search engines?

    PHP Code:
    <html>
    <head>
    <?php require("meta_tags.txt"); ?>
    <title>My Gold Exchange :: Western Union&reg; Order Form</title>
    <link rel="stylesheet" href="style" type="text/css">
    </head>
    Thanks!

  • #2
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yes it would work for search engines, because the meta tags are being inserted before the page reaches the browser (server side).

  • #3
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,472
    Thanks
    8
    Thanked 1,085 Times in 1,076 Posts
    The search engines view the HTML source just like you do.
    If they're there, then it's fine.

    A lot to be said about Meta Tags ... here's just one article:

    http://searchenginewatch.com/serepor...le.php/2165061

    I only use them for my own use. So I can manage my pages and
    revisions easily with a quick glance at the top of the HTML source.
    Sort of like comment lines. In my opinion, they do nothing else.
    I don't want to make this thread a heated debate ... I just have
    my own opinion.

  • #4
    Regular Coder
    Join Date
    Dec 2005
    Posts
    346
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by mlseim
    The search engines view the HTML source just like you do.
    If they're there, then it's fine.

    A lot to be said about Meta Tags ... here's just one article:

    http://searchenginewatch.com/serepor...le.php/2165061

    I only use them for my own use. So I can manage my pages and
    revisions easily with a quick glance at the top of the HTML source.
    Sort of like comment lines. In my opinion, they do nothing else.
    I don't want to make this thread a heated debate ... I just have
    my own opinion.
    Nice article...Based on that article where do I put the keyword that would pull up in like google search results?

    If you google the name Coding Forums, then the text below the link to cf is the same as the <title> </title> in the source code.

    In that same search listing. The site Code Guru appears. The text below the link to code guru is in the <meta name="description" in the source code.

    So how do I get text below the link to my site in a search engine results without having meta tags?

  • #5
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,472
    Thanks
    8
    Thanked 1,085 Times in 1,076 Posts
    That's an interesting point ...

    and PlanetSourceCode.com ... it doesn't use either title or description,
    even though both of them are there.

    and on my site here: http://catpin.com/bubbletest/

    the same thing ... the Google text is not the title or description, but
    is actually a part of the content on the site:
    http://www.google.com/search?hl=en&l...st&btnG=Search

    So, I guess I'm not sure what Google is looking at ... or perhaps it has to
    do with the revision of the searchbot ... Maybe a couple years ago Google
    took the description, now it doesn't ... I don't know.

    I've never had problems with getting good rankings with "bubble test" ...
    #1 ranking out of 7.2 million ... and Google didn't use any of my Meta tags.

    ... go figure...


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •