Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 6th, 2007, 04:53 PM
Authorized User
 
Join Date: Nov 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using meta tags

I have written a website (ASP.NET 2.0) and now it has been online for a while the search engines are displaying random bits mostly from the front page but also from other pages visible to anonymous users.

I have applied a meta tags in the head section of the master page hoping that I can control how the web site is described by some search engines.

My questions on this are :-

Since all my web pages have been created with the master page, will defining meta data in the head section of the master page prevent the search engine indexing the other pages. Because, I can not add a head section to these pages in order to add a meta robot tag to prevent indexing of these pages.

Secondly, some of my pages are protected by login control and only accessible to specific roles. Do search engines index these pages or are they automatically protected.

Thanks in advance for any help or information you can provide.

Andy M

 
Old August 6th, 2007, 05:47 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

For all the great things that 2.0 introduced, Master Pages are somewhat of a double edged sword. They are great for streamlining a design but, in your specific case, they are a boon.

Here is the long and the short of it: first, the only way you are going to exclude a spdier from hitting X page (without using meta tags) is going to be to use a Robots.txt file and prevent them from crawling pages that way. Secondly, and more importantly, is your Meta Tags. To parapharse Aaron Wall from www.seobook.com: since you have the exact same meta tags across multiple pages, if not your entire site, it is at best a wasted oppurtunity. This has to do with duplicate content and it is one thing that is covered in great length in almost every SEO Book. Google particularly frowns upon this and, lets be serious, if your not on google you may as well not exist. On the flip side of the coin, removing your Meta tags completely may cause your site to NOT get indexed at all by other search engines.

Lastly, think of a spider as a regular user. If you have pages of your site that a real person can not go to without a username and password, so to will that hold true for the spider.

[plug]
Lastly, if you want more information on SEO and ASP.NET 2.0 I suggest picking up Jamie and Cristian's Book: Professional Search Engine Optimization with ASP.NET: A Developer's Guide to SEO (You can follow the link in my sig) and you can read the exerpt chapter here (it has to do with URL Rewriting) http://www.wrox.com/WileyCDA/Section/id-305997.html
[/plug]

hth.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET

Professional IIS 7 and ASP.NET Integrated Programming

================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
meta tags ferlach HTML Code Clinic 5 June 5th, 2007 04:17 PM
META tags and master pages thenoseknows ASP.NET 2.0 Professional 1 October 9th, 2006 01:02 PM
MasterPages ContentPages and Meta tags michaelcode ASP.NET 2.0 Basics 5 June 1st, 2006 04:13 PM
Meta tags Adam H-W HTML Code Clinic 2 November 19th, 2003 11:25 AM
Database Driven Website w/ META tags Dan Jallits PHP How-To 2 June 16th, 2003 11:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.