ASP.Net Host

WWW removal override in site URL's

By default Community Server removes the WWW from all URL's once site is contacted. Some individuals prefer this be overridden so search engines will hit the full URL.

To override this default setting you need to go to the root of your website and edit the file named "communityserver.config". Scroll down till you find the section:

<Core
  defaultLanguage="en-US"
  disableEmail="false"
  disableIndexing="false"
  disableThreading="false"
  cacheFactor="5"
  smtpServerConnectionLimit="-1"
  enableLatestVersionCheck="true"
  systemType = "Self"
  backwardsCompatiblePasswords = "false"
  ssl = "Ignore"
  defaultRoles = "Everyone;Registered Users"
  wwwStatus = "Remove"
  enableVirtualization = "false"
  enableProductListing = "true"
  enableUsersOnline = "true"
  announcementRssUrl="http://dev.communityserver.com/blogs/announcements/rss.aspx"
  proxyHost=""
  proxyPort=""
  proxyUsername=""
  proxyPassword=""
  proxyBypassOnLocal="true"
 >

You need to edit the line stated as:

wwwStatus = "Remove"

so that it reads:

wwwStatus = "Require"

Now save your file. Open and save your web.condfig file (make no changes to it) to force your site to reload.

Now all site visitors, whether using www in the URL or not, will be hitting the site with the www in the URL.

0 Comments

Leave your comment.
Name:
Email: (not shared or made public)
Website:   http://
Comments:

This is a public forum. Aquest Solutions and its affiliates are not responsible for, and do not control what is posted herein. Aquest Solutions makes no warranties or guarantees concerning any advice dispensed by its staff, members, or readers.

Community standards in this comment area do not permit hate language, excessive profanity, or other patently offensive language. Please be aware that all information posted to this comment area becomes the property of Aquest Solutions and may be edited and republished in print or electronic format as outlined in Aquest Solutions' Terms of Use.

Important Note: This comment area is NOT intended for commercial messages or solicitations of business.

We recommend Aquest Hosting for your ASP.Net 2.0 hosting, Community Server hosting, and DotNetNuke hosting.