Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to redirect sitename.com to www.sitename.com (without 3rd party modules)?How to redirect sitename.com to www.sitename.com (without 3rd party modules)?
Previous
 
Next
New Post
4/5/2007 8:02 AM
 

Is it possible to configure DNN (4.4.1) out of the box to redirect any requests for http://sitename.com to http://www.sitename.com? I know I can do it with modules such as SSL_Module, but wondered if SiteURLs.config could be used.

I thought that just having a Portal Alias for www.sitename.com (i.e. no sitename.com alias) might do the trick, but I am finding that requests for http://sitename.com still work (i.e. are not redirected to http://www.sitename.com).

 
New Post
4/5/2007 11:15 AM
 
I too am interested in knowing what can be done for this, as I have the same problem with my site, but have yet to find a resolution...

-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
4/5/2007 11:42 AM
 

I have sites that respond to both definitions, with and w/o www, see collegeparkjudo.org and www.collegeparkjudo.org.  First, you have to define it in your domain registrar's definition of your site.  You should see a parameter for domain wildcards or subdomains or something like that, usually presented like *.yourdomain.com.  Second, you have to have both aliases in DNN, yourdomain.com, and www.yourdomain.com.  Third, you have to add both Host Headers to the definition of the DNN site in IIS, again, www.yourdomain.com and yourdomain.com.

That's what I did and it is working fine for me. 

Also, bear in mind that having your site respond to both forms of the domain definition may affect your search engine optimization (I read that somewhere).

Carlos

 

 
New Post
4/5/2007 12:02 PM
 
Correct due to some SEO issues among other issues (blog module related....) I am looking to fix the site to automatically redirect the non www URL to the actual www url.

-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
4/5/2007 5:32 PM
 

i don't fully  know what the problem is but you can create a simple httpmodule to fix this.


 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to redirect sitename.com to www.sitename.com (without 3rd party modules)?How to redirect sitename.com to www.sitename.com (without 3rd party modules)?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out