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
124 active users
1687 visitors today
1421 pages today
(only part of today)
Tools I use

CoverYourASP
Copyright © 1999-2016 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

CoverYourASP Mugs, T-shirts, caps - even Boxer shorts...
I don't make a penny from these, but they're a lot of fun! Don't you need a new mouse mat?


Qualify for Free Trade Magazines

Free subscriptions to industry leading publications for those who qualify!