In the previous article we outlined a possible solution to getting links to your Silverlight Navigation Application indexed in the search engines. However, the implementation of the process left much to be desired. This article will address how to make a more robust solution to the problem and deal with some rules imposed by the search engines to prevent your from penalized by the search providers.
The overall process that we outlined looked something like this:
Add the steps went something like:
3. If yes, the find the corresponding Silverlight Deep Link to the requested page.
4. Ask the user if they would like to view the Silverlight version of the page. If yes, redirect to the corresponding link. If not, continue processing the HTML version of the page.
I personally feel that this is an unnecessary step and the additional click would quickly become annoying to user’s visiting your site. So, we will not be modifying the process until I have a response from someone at Google saying that the user must be prompted to avoid being classified as a cloaking site. I plan on writing the next article in this series to address the cloaking issue.
While writing this article I have decided to create a CodePlex Project for this series. The project will include the source code I developed while writing these articles and provide some code that you can drop into your sites to simplify the implementation of the process once it is completed. The final article will summarize the information in the series and demonstrate how to utilize the code in your projects.
The remainder of this article will outline the objectives of this project and address the improvements made to the implementation of the code shown in Part 1.
The hosting page now displays a link to the HTML version of the page at the very bottom of the page. I am not real thrilled with this, but this is an attempt to “play nice” with the crawler to prevent being considered a cloaking site. In theory, the crawler should never hit this page but better safe than sorry. An additional and, in my opinion, more important reason for this link is for accessibility. Users that use accessibility software are now provided with a link to view a version of the page that will work with screen readers.
I added a robots.txt file to the site to prevent the crawlers from index the Silverlight hosting page.
Since the project has been added to CodePlex, you can now view the entire source code as it was at the time of writing this here. To view or download the most current source code you can always use the Source Code page of the CodePlex site. I will continue to work on cleaning up the code and adding some additional features over the coming days and weeks. Eventually, I hope to provide an installer for two Visual Studio project templates that will help jump start your search engine optimized Silverlight Navigation application. i apologize for the lack of code examples in the article this week. Again please feel free to check out the CodePlex site if you are interested in viewing the source for this project. Please keep in mind, this project is not yet complete and may not build and/or work on your system yet. The code that is posted as of today (8/4/2009) is merely available for reference.
I hope you have enjoyed this article, and as always your feedback is much appreciated!
thanks for the information the information provided by you is so useful and very informative thanks for posting this.
I was stuck on the same point but you have provided the explanation in such an easy way that I got the things. Thanks a lot it helped me a lot. Keep it up.
I hope to you provide an installer for two Visual Studio project templates that will help jump start our search engine optimized Silverlight Navigation application.
Creating silverlight on asp.net mvc are now easy. Thanks for the tutorials I like how you have presented the information in full detail. Keep up the great work
Thanks, I appreciate the feedback.<br><br>Also wanted to comment and let everyone know this project is still in the mix. Michael and I (along with a couple others) are working on writing a new DotNetNuke book right now, and it has been taking the majority of my time lately. However, I do hope to continue this series very soon. So stay tuned, there will be more...
Good question Vitor,<br><br>The main difference is with this method the url mappings between ASP.Net and the Silverlight Deep links allow you to keep your current ASP.Net site online while moving the site to the Silverlight naviagation platform. Additionally the tools used for this method are all currently released and fully supported. If you are creating a new site and do not mind using the RIA previews, it will probably be easier to use the RIA SEO strategy as outlined by Brad Abrams.
Hey Ian,<br><br>Congratulations for the great articles! I'd like to hear of you what you think about the difference approach of your solution against RIA Service solution for SEO. Why do you decide to start a new solution instead use it? I'm evaluating RIA Services right now and do would to compare it.