Thursday, April 09, 2009

DotNetNuke SEO

I've been reading quite a bit lately on improving SEO for our DotNetNuke website, IHBSOnline.com and quickly realized it just isn't enough to throw up a website, add a listing in a couple of search engines and wait for the masses.

First off, the DnnFriendlyUrlProvider, while writing friendlier URL's than older versions of DNN, could be better. This is why you need the iFinity FriendlyURL provider.

It is free, but keep in mind it is really designed for a single domain site, and presents other issues with some other 3rd party modules. If you fall into that category, I'd suggest you purchase the full version, as it adds additional functionality you'll need and want.

People sit under a Google logo at the Google s...Image by AFP/Getty Images via Daylife

I've learned that Google and possibly other search engines actually penalize you if you create duplicate content.

The duplicate content issue could easily arise if you have a host that responds to both http://mydomain.com and http://www.mydomain.com.

You can either try to contact your hosting provider to make changes to your account to create a 301 redirect from one virtual site to the other, or do what I did, and create a script that determines the Server Variable HTTP_HOST.

Image representing GoDaddy as depicted in Crun...Image via CrunchBase

I use GoDaddy hosting, and didn't want to jump through hoops to get this done by them, and decided to manage it myself, using classic ASP. You'll find other methods all over the web in CFM, PHP and the like.

Since I know the order that GoDaddy's IIS servers look for a default document:

  1. default.asp
  2. default.html
  3. default.htm
  4. default.aspx
  5. default.php
  6. default.shtml
  7. default.shtm
  8. index.html
  9. index.htm
  10. index.asp
  11. index.php
  12. index.shtml
  13. index.shtm
  14. home.html
  15. home.htm
  16. home.shtml
  17. home.shtm
  18. welcome.html

I'll set up the following page, named Default.asp, which also redirects to a few testing sub-domains:

<%@ Language=VBScript %>
<% Option Explicit %>

<%
Dim strHttpHost, strPage
strHttpHost = Request.ServerVariables("HTTP_HOST")

Select Case strHttpHost
Case "ihbsonline.com"
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "http://www.ihbsonline.com/"
Case "template.ihbsonline.com"
Response.Redirect "http://template.ihbsonline.com/Default.aspx"
Case "testing.ihbsonline.com"
Response.Redirect "http://testing.ihbsonline.com/Default.aspx"
Case Else
%>
<script type="text/javascript">
<!--
window.location = "/Default.aspx"
//-->
</script>
<noscript>
<META http-equiv="refresh" content="0;URL=/Default.aspx"/>
</noscript>
<%
End Select
%>

Now all engines know the correct location to find my web.

Reblog this post [with Zemanta]

16 comments:

John Croson said...

I've found that the iFinity URL Rewriter module breaks the built-in RSS Syndication of DNN, and have switched to the Ventrian Systems URL Rewriter, which is also free, and similar in terms of restrictions with regard to multiple portals. It doesn't however, break RSS.

In addition, Google doesn't like my Meta refresh method of redirecting to the DNN Default.aspx, so I've used a javascript method, with meta as fallback:

<script type="text/javascript">
<!--
window.location = "/Default.aspx"
//-->
</script>
<noscript>
<META http-equiv="refresh" content="0;URL=/Default.aspx"/>
</noscript>

Elizabeth J. Neal said...

It is free, but keep in mind it is really designed for a single domain site, and presents other issues with some other 3rd party modules. If you fall into that category, I'd suggest you purchase the full version, as it adds additional functionality you'll need and want. cheap seo service

Elizabeth J. Neal said...

It is free, but keep in mind it is really designed for a single domain site, and presents other issues with some other 3rd party modules. If you fall into that category, I'd suggest you purchase the full version, as it adds additional functionality you'll need and want. http://propriummarketing.com/social-media-optimization-service.aspx

Elizabeth J. Neal said...

It is free, but keep in mind it is really designed for a single domain site, and presents other issues with some other 3rd party modules. Orange County seo

Elizabeth J. Neal said...

If you fall into that category, I'd suggest you purchase the full version, as it adds additional functionality you'll need and want. Arizona SEO company

jowdjbrown said...

Toronto SEO Expert, we are the premier SEO Toronto company and service.SEO Toronto

Elizabeth J. Neal said...

Today, I wanted to talk to you about how you can get started in affiliate marketing and how to drive quality traffic to your site using SEO. affiliate marketing

Richard C. Lambert said...

n case you have missed the opportunity to optimise your website, it’s about time you shouldSEO company San Francisco

jowdjbrown said...

i wanted a SEO plugin that wouldn't just show some page data it would pull all of it and practically do your work for you. Emirates SEO

Chris Gilbert said...

I've been using GoDaddy for several years now and I don't see any problem at all. So, I'll still recommend using it.

Chris, http://cardiffweb.design/

Richard C. Lambert said...

High-quality along with your concur permit me to to seize your current give to keep modified by using approaching blog post. Thanks a lot hundreds of along with you should go on the pleasurable get the job done.Discounts

Robert F. Crocker said...

Very good article from the article you increase the value o information has brought me great help. www.seorango.com

Jeremy Basingstoke said...
This comment has been removed by the author.
Alison Stonewall said...

Thanks for the post, I must use some of these techniques. I think that on page SEO is also important and you must attract your clients by designing your site well. I recommend Perth Web Design for good website designing.

Thomas Oldman said...

"I've learned that Google and possibly other search engines actually penalize you if you create duplicate content." - This is very true! And I've recently read that if Google classifies your duplicate content as thin content, then it's definitely a big problem. thomas oldman SEO

Frank Bowers said...

" it just isn't enough to throw up a website". I completely agree with you. When I started my site, https://sites.google.com/site/longislandinspection/, I thought there's nothing more to do. It was just the start though. You have to do SEO and Social Media advertising.