Learn More





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 ...weird issue - dnn alias and google analyticsweird issue - dnn alias and google analytics
New Post
3/4/2015 2:58 PM

Hi folks:

 I just launched my site today. I have the preferred Site Alias to be 

A secondary alias of has been set (not the primary).

 I have successfully added this to google analytics and webmaster tools.

In web master tools, in using google webmaster tools to tell it to use as the primary, it requires me to setup in google webmaster tools.

When I go to add this site to the web master tools, I'm having problems verifying. It is because (i think) that when I press the verify button on the web master tools, google tries to go the site ( and it's redirecting automatically to

So I'm not sure how I can get this site verified when it's so quickly redirecting. (I have both the google html file and the google meta tag setup, but my belief is that the redirection is occuring immediately and never letting the site be brought up as

 strange thing is: I developed the site using a temporary dns name provided by the hosting company. the site comes up under the temporary DNS name and does not redirect.

How do I tell dnn to NOT redirect the site to

 Just when I think I'm getting a handle on dnn, something stupid comes along that reminds me I've got a ways to go yet.

New Post
3/4/2015 3:41 PM
AFAIR that's a function of the rewriter (that rewriters to - it can be controlled via canonical urls AFAIR -

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
New Post
3/4/2015 5:22 PM

Ok, I went to the site, set the SiteAlias mapping mode to none.

i clicked update.


i then tried to go to and it still instantly redirected to the site...


New Post
3/4/2015 6:20 PM
please check web.config, which url rewriter mode you are using.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
New Post
3/4/2015 6:24 PM

This is what is in the web.config


      <add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" preCondition="managedHandler" />

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...weird issue - dnn alias and google analyticsweird issue - dnn alias and google analytics

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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?