META tags and search engines

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • King Coffee

    META tags and search engines

    Hi,

    If I use master pages with META tags in the head section... can I still use
    META tag on the child pages (child pages reference the master page). I ask
    this question because I heard the more pages with META tags containing
    search engine key words, the higher the search engine ranking.

    Thanks,
    King

  • George

    #2
    Re: META tags and search engines

    Yes you can....
    You will just have to implement it yourself somehow :)

    One idea is to derive all your pages from clsStandardPage and not from Page
    class.

    then your clsStandardPage can expose to abstract properies MetaKeywords and
    MetaDescription . It will force every aspx page to define those properties.

    Then in your master page you need reference them in correct place

    Something like this
    <META Descirption="<% =((clsStandardP age)this.Page). MetaDescription %">

    PS: your clsStandardPage must be derived from Page class since all .aspx
    pages must eventually be derived from Page.

    George.

    "King Coffee" <kcoffee@hotmai l.comwrote in message
    news:6BA26E93-A80D-486A-B2C8-84C58497AF04@mi crosoft.com...
    Hi,
    >
    If I use master pages with META tags in the head section... can I still
    use META tag on the child pages (child pages reference the master page). I
    ask this question because I heard the more pages with META tags containing
    search engine key words, the higher the search engine ranking.
    >
    Thanks,
    King

    Comment

    • bruce barker

      #3
      Re: META tags and search engines

      there are few search engine that use meta tags because of overuse. most
      count how many other sites link to your site to determine ranking.

      -- bruce (sqlwork.com)


      King Coffee wrote:
      Hi,
      >
      If I use master pages with META tags in the head section... can I still
      use META tag on the child pages (child pages reference the master page).
      I ask this question because I heard the more pages with META tags
      containing search engine key words, the higher the search engine ranking.
      >
      Thanks,
      King

      Comment

      • Mark Rae [MVP]

        #4
        Re: META tags and search engines

        "King Coffee" <kcoffee@hotmai l.comwrote in message
        news:6BA26E93-A80D-486A-B2C8-84C58497AF04@mi crosoft.com...
        If I use master pages with META tags in the head section... can I still
        use META tag on the child pages (child pages reference the master page). I
        ask this question because I heard the more pages with META tags containing
        search engine key words, the higher the search engine ranking.
        When you put meta tags in your MasterPage, all your content pages which use
        that MasterPage will acquire those meta tags as part of the HTML rendering
        process.

        You can add additional meta tags as required:
        Here's the new way to add meta tags programmatically to ASP.net Master Pages. The Header.Metadata.Add() method was removed from the framework in beta 2 of version 2.


        However, as Bruce has mentioned, this is almost not worth the bother, as
        hardly any search engines use meta tags these days...


        --
        Mark Rae
        ASP.NET MVP


        Comment

        • Hillbilly

          #5
          Re: META tags and search engines

          Go to Google Webmaster pages and follow their advice.

          "King Coffee" <kcoffee@hotmai l.comwrote in message
          news:6BA26E93-A80D-486A-B2C8-84C58497AF04@mi crosoft.com...
          Hi,
          >
          If I use master pages with META tags in the head section... can I still
          use META tag on the child pages (child pages reference the master page). I
          ask this question because I heard the more pages with META tags containing
          search engine key words, the higher the search engine ranking.
          >
          Thanks,
          King

          Comment

          Working...