Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nate 143 posts 184 karma points
    Jun 11, 2011 @ 17:43
    Nate
    0

    Can't figure out to make my domain CamelCase

    I'm trying to format my website domain to camel case.  So if someone types mywebsite.com it would go to MyWebsite.com.

    Here's what I have in the UrlRewriting.config, but I get an endless redirect loop.

    <add name="wwwMove"
           redirectMode="Permanent"
           redirect="Domain"
           ignoreCase="true" rewriteUrlParameter="IncludeQueryStringForRewrite"
           virtualUrl="http://mywebsite.com/(.*)"
           destinationUrl="http://MyWebsite.com/$1" />-->
    -Nate

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Jun 11, 2011 @ 18:12
    Peter Dijksterhuis
    0

    Not sure why you would want to do that, the URL still remains the same.

    But, perhaphs it is because you have: ignoreCase="true"?

    Peter

Please Sign in or register to post replies

Write your reply to:

Draft