Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

META tags and search engines

0 views
Skip to first unread message

King Coffee

unread,
Nov 14, 2008, 10:42:40 PM11/14/08
to
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

unread,
Nov 14, 2008, 11:56:51 PM11/14/08
to
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="<%=((clsStandardPage)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" <kco...@hotmail.com> wrote in message
news:6BA26E93-A80D-486A...@microsoft.com...

bruce barker

unread,
Nov 15, 2008, 1:20:49 AM11/15/08
to
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)

Mark Rae [MVP]

unread,
Nov 15, 2008, 6:27:58 AM11/15/08
to
"King Coffee" <kco...@hotmail.com> wrote in message
news:6BA26E93-A80D-486A...@microsoft.com...

> If I use master pages with META tags in the head section... can I still

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:
http://www.howtoadvice.com/SetMetaTags

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
http://www.markrae.net

Hillbilly

unread,
Nov 15, 2008, 10:34:28 AM11/15/08
to
Go to Google Webmaster pages and follow their advice.

"King Coffee" <kco...@hotmail.com> wrote in message
news:6BA26E93-A80D-486A...@microsoft.com...

0 new messages