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 13 of 13
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    406
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Having Meta tags in a website

    I was asked to put some Meta tags in our website so that search engines can pick up the site during a search and indexing. So I checked some websites and got the following meta tags:

    <META NAME="keywords" CONTENT="apple, orange, chair">
    <meta NAME="TITLE" CONTENT="Recipes, publishing">
    <META NAME="description" CONTENT="some info, programming, computer">
    <meta http-equiv="Page-Enter" content="revealTrans(Duration=0.25,Transition=23)">
    <meta http-equiv="Page-Exit" content="revealTrans(Duration=0.25,Transition=23)">
    <meta name="Rating" content="General" />
    <meta name="revisit-after" content="5 Days" />
    <meta name="doc-class" content="Living Document" />
    <meta name="ROBOTS" content="all">

    Do I have to put all of these tags? What kind of things should go in keywords and description?

  • #2
    Master Coder
    Join Date
    Feb 2003
    Location
    UmeŚ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    Avoid the keywords meta tag - it is used by only a very few search engines; mostly older, minor search engines. Google may give you a penalty for using it, but never uses it itself - a mechanism against SOE abuse. So, don't use it.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    406
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks liorean. I didnt know about this - keyword is not used and google.... So what are the best tags I can put in my website. I dont want to get into any trouble. We are mostly targeting google, yahoo, etc.
    Is there any website I can read about this in detail?

  • #4
    Master Coder
    Join Date
    Feb 2003
    Location
    UmeŚ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    This is always a good place to start:
    <http://www.webmasterworld.com/category3.htm>
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Posts
    406
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you very much. I will check it out.

  • #6
    Regular Coder
    Join Date
    Jun 2002
    Location
    Victoria, BC, Canada
    Posts
    962
    Thanks
    0
    Thanked 1 Time in 1 Post
    If you can't use keywords, then how do search engines find websites?

  • #7
    Regular Coder
    Join Date
    Jun 2002
    Posts
    406
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yeh, I also talked to a friend and he said search engines search by the keywords. So how google does the searching?

  • #8
    Senior Coder
    Join Date
    Jun 2002
    Location
    frankfurt, german banana republic
    Posts
    1,848
    Thanks
    0
    Thanked 0 Times in 0 Posts
    A search engine like Google requests a document, and analyzes its content. Looks up what words are used in titles, headings, links, counts their appearances... and ultimately, there's the PageRank algorithm, which determines your ranking in a search result list.

    The problem with meta keywords is, as liorean already pointed out, that they do not reflect the actual content and invite the webmaster to spam (or to put it more politely: to optimize) their site. That's why this meta tag is essentially unreliable.

    It is astonishing that the popular myth that webdevelopers need to use this meta tag to create a searchengine-friendly page is so long-lived.
    De gustibus non est disputandum.

  • #9
    Regular Coder
    Join Date
    Jun 2002
    Posts
    406
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok thanks. So what about the META NAME="description" tag? That can also have some bad description?

    Are they both (keyword and description) kind of similar in function?

  • #10
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    Yup description as well.. Google just takes an exerpt from your page in it's cache if it finds the matchine words anyway so all you need is the content basically and of course to submit it to the search engines for spidering.

    This maybe of use ---
    http://www.google.com/webmasters/4.html
    Omnis mico antequam dominus Spookster!

  • #11
    J&J
    J&J is offline
    New Coder
    Join Date
    Sep 2003
    Location
    your temp folder
    Posts
    89
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post these metas might help too

    Yeah, keywords are not used as often as the words you enter in your meta TITLE or even in your meta DESCRIPTION, but there are still a few who DO use keywords so it's up to you if you want to eliminate yourself from them by not using keywords.

    These meta tags also help your page be indexed, followed, archived, etc:

    <meta name="robots" content="index,follow,archive,imageindex,imageclick" />
    <meta name="googlebot" content="index,follow,archive" />


    Note that not all search engines use "archive", "imageindex" or "imageclick", but for those that do - it's good to tell them how you want your page to be treated.


    With my personal website, I want only the index/start page to show up in search engines. So on my index page, I use these:
    <meta name="robots" content="index,nofollow,archive,imageindex,imageclick" />
    <meta name="googlebot" content="index,nofollow,archive" />


    Then on all of my other pages that I don't want indexed (overkill really), I remove the keywords & description meta tags, & use these to make them invisible to search engines:
    <meta name="robots" content="noindex,nofollow,noarchive,noimageindex,noimageclick" />
    <meta name="googlebot" content="noindex,nofollow,noarchive" />




    index - basically means you want the page indexed/included in search engines. imageindex is similar - relating to images on the page.

    follow - means links on the page are crawled/visited & checked out, not just the current page in question. imageclick is similar - relating to clickable images on the page.

    archive - Microsoft search is a good example of this... shows a thumbnail/snapshot of the page.


    For more information, just do a search for "meta tags", "googlebot", etc. There's tons of sites out there that explains this in detail, as I'm not so good with the explanations.
    Last edited by J&J; 01-23-2004 at 04:06 PM.
    ~ J&J ~
    "Sometimes I feel like I'm rearranging deck chairs on the Titanic."


    Work | Family | Community

  • #12
    giz
    giz is offline
    Regular Coder
    Join Date
    Apr 2003
    Location
    UK
    Posts
    226
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Your document should begin with a !DOCTYPE (this tells the browser what sort of HTML is in the file) followed by the <html> and <head> tags:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>




    For your page to actually be valid you MUST declare the character encoding (lets the browser know whether to use A to Z letters (Latin alphabet), or Chinese, Japanese, Thai, or Arabic script, or some other character set) used for the page, with something like:

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

    There are also other schemes such as UTF-8 and many others.



    It is also a good idea to declare what "human" language the page is in, using:

    <meta http-equiv="Content-Language" content="EN-GB">

    The language and country codes come from ISO 4217 and ISO 3166. This is useful for online translation tools as well. Change the "en" and "gb" to whatever language and country you need.



    You need a <title> element for the page:

    <title> Your Title Here </title>

    This is displayed at the top of the browser window, and stored as the name of the bookmark if someone bookmarks the page URL in their browser. Most importantly, it is the <title> tag that is indexed and displayed by search engines in the search results page (SERPs).



    You need the meta description tag, and it is useful but not vital to have a meta keywords tag:

    <meta name="Description" content=" Your Description Here. ">
    <meta name="Keywords" content=" your, keyword, list, here ">




    A lot of people include this one now. I started doing it a few months back as well:
    <meta http-equiv="Content-Style-Type" content="text/css">



    Most search engines do obey the robots meta tag. The default robots action is index, follow (index the page, follow all outbound links) so if you want something else (3 possibilities) then add the robots tag to the page in question. If you want to exclude whole directories then use the robots.txt file for this instead of marking every HTML file with the tag.

  • #13
    J&J
    J&J is offline
    New Coder
    Join Date
    Sep 2003
    Location
    your temp folder
    Posts
    89
    Thanks
    0
    Thanked 0 Times in 0 Posts

    problem with robots.txt

    Originally posted by giz
    If you want to exclude whole directories then use the robots.txt file for this instead of marking every HTML file with the (meta) tag.


    The only problem with using a robots.txt file is you have to own/have a domain to use this luxury. If you have a subdomain (like most free/personal websites), such as www.domain.com/~member or www.domain.com/users/~member (etc), chances are you won't be able to use robots.txt.
    In that case, your best bet is to use meta tags on your pages that specify if it should be indexed, followed, and/or archived. I know it can be a pain when you've got a lot of pages, but for some - it's the only option. (Good thing they invented FIND/REPLACE and/or COPY/PASTE.)
    ~ J&J ~
    "Sometimes I feel like I'm rearranging deck chairs on the Titanic."


    Work | Family | Community


  •  

    Posting Permissions

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