CoverYourASP --> Hiding your META tags

Free membership

Join in the fun! Sign in
Member Services

Site navigation
Download the entire site!
Search my articles
Free Magazines
Browse the directory

Send me feedback
Buy my boxer shorts

Recommend this page
Printer-friendly page

Resources I recommend
Link to my site
Advertising slashed!
About your privacy
Legal stuff
Site statistics
41 active users
1413 visitors today
1752 pages today
how is this done?
Tools I use

CoverYourASP
Copyright © 1999-2014 James Shaw.
All rights reserved.

ASP.NET Blog
RSS submissions
E-commerce

Now open source with SourceForge!

What's a META tag?

Serious web sites spend a lot of money and effort getting premium placement in the search engines.

One of the most popular ways that search engines index your site is to look for META tags in the <head> of your page, as shown below:

<html><head>
   <meta name="Keywords" content="Important phrase or keyword, another one, some more">
   <meta name="Description" content="A full description of your site goes here.">
</head>

(For more hints about how to use these tags, try one of my favorite resources: Submit Corner)

Why hide them?

Now to the point of this article. These keywords are valuable. You spent a lot of time investigating what works best. Your competitors want to know what you use, so that they can steal them!

I recently saw yet another article about how to stop the right-click working in Internet Explorer (ignoring the fact that View/Source is still available on the menu), and that prompted me to show you a better way to hide your precious META tags, or anything else for that matter. See my Time/Date example and my Debug page for other ways to serve up dynamic content.

Part 2: OK, I wanna do it. How?...

Featured sponsor
My favorite resources


I share my content

Supporting ASPRSS

Do you need a quick and easy way to link to my articles? All the information you need is published with ASPRSS...


See my source code
wherever you see this icon...

You can also download the entire site source code for FREE!