By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,741 Members | 2,009 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,741 IT Pros & Developers. It's quick & easy.

META tags and search engines

P: n/a
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

Nov 15 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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).MetaD escription%">

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

George.

"King Coffee" <kc*****@hotmail.comwrote in message
news:6B**********************************@microsof t.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
Nov 15 '08 #2

P: n/a
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
Nov 15 '08 #3

P: n/a
"King Coffee" <kc*****@hotmail.comwrote in message
news:6B**********************************@microsof t.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:
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

Nov 15 '08 #4

P: n/a
Go to Google Webmaster pages and follow their advice.

"King Coffee" <kc*****@hotmail.comwrote in message
news:6B**********************************@microsof t.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
Nov 15 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.