|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Announcements
Chapters
Services
Feature Zones
|
Note: This is an unedited contribution. If this article is inappropriate,
needs attention or copies someone else's work without reference then please
Report This Article
Introduction10 Tips on SEO for your ASP.NET website. I´m sorry, that some of the screenshots contain german language, but I hope you´ll get my point despite that :) 1. Avoid duplicate contentA mistake made very (VERY) often: when you register an url an point it to your webserver, you´re using the "www"-subdomain in most cases. "www" is nothing else than a subdomain. Follow these instructions to get rid of duplicate content:
2. Avoid duplicate content , part IIWell, when requesting "http://www.example.com" your webserver will deliver a certain page - by default it´s the "Default.aspx". Many Websites, codeproject.com as well, are redirecting and linking (internally) a wrong way: open a browser and type "http://codeproject.com" - you´ll get redirected to "http://www.codeproject.com/index.asp" - "index.asp" seems to be the default-site for the domain www.codeproject.com - but redirecting to it from the "http://codeproject.com" or linking to it within any page of the www.codeproject.com-website is just a big mistake. No matter how big the influence in your sites ranking is, google´s PageRank is still a ranking factor. So while www.codeproject.com has a PR of 7, www.codeproject.com/index.asp has a PR of 5 - while these two pages deliver the same content. This is bad, has very bad influence in codeproject´s ranking, beause two URLs deliver the same content. Google doesn´t know, that "index.asp" is the root-site of codeproject, so google tries to evaluated (through algorythms) which site is the more important one. But the major problem in here is, that all the link-power, ranking-power, etc get´s devided - cp could rank a lot better without having the "index.asp" in the search engines index. To make sure, that your site´s ranking reaches the maximum, you should concentrate on one URL - make sure, even in internal linkbuilding (links to the "Home"-Page of your website), to link to your domainname: www.yourdomain.com instead of www.yourdomain.com/default.aspx 3. Choose individual, god <title>sVery easy to achive, big influence on your site´s ranking: don´t use static titles. The <title>-Tag is one of the best way to optimize a site for a special topic or keyword. Don´t use a dozen of keywords in the title tag, because you´re "paying in" for each and every keyword - "paying in" means, that the weight of your site get´s devided for all the keywords mentioned in the title-tag. Choose one or two keywords, or a keyword-combination to achieve a god relevance and a good ranking. While working with Masterpages there is an easy way to do so: //assuming, that your <head runat="server" id="myHead"> if (Request.CurrentExecutionFilePath.Contains("example.aspx")) { HtmlTitle title = new HtmlTitle(); title.Text = "Example"; myHead.Controls.Add(title); } So - if you have 3 sites, the Homepage, the AboutMe-Page and the Contact-Page you should give these three pages individual, useful titles. The less keywords you use, the better the influence for these Keywords will be. Same is for <meta name="keywords" and <meta name="description", but the title-tag has the biggest influence nowadays. 4. Clean up your source codeSomething hard to believe but still true: clean up your source code and try to minimize the code as much as possible. Follow these rules:
The better the relation between content (==text) and (html/css/javascript)code is, the better you´re ranking will be. The smaller the source code, the better this relation will be. 5. Make your site crawlableDon´t:
Do:
6. Use <strong>, <h1>, <h2>, <h3>
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You must Sign In to use this message board. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 9 Oct 2007 Editor: |
Copyright 2007 by hartertobak Everything else Copyright © CodeProject, 1999-2008 Web10 | Advertise on the Code Project |