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 ...Vanity URL with spacesVanity URL with spaces
New Post
12/27/2013 12:11 PM

I am using vanity URLs.  If the user name has spaces (and consequently the vanity name), then the site is directed to a lost page.  Without spaces the vanity URL works fine.  I'm also using a users prefix (i.e.  Any help on this would be greatly appreciated.

For information, my site is running in DNN 07.01.02.  I did try upgrading to 7.2.0 to see if it resolved the issue, but I appeared to be getting a javascript error ... - and I was in panic mode as the reports module xsl links do not function in 7.2 and my entire site was broken.  I've reverted to 07.01.02 and would like to fix the vanity URL issue as it is blocking users for accessing their profile.  Will upgrade once the reports module issue is sorted out. 

New Post
12/27/2013 3:56 PM
this is somewhat by design as there are a number of times when a displayname cannot automatically become a vanityurl - whilst usernames can have spaces, spaces (and various other characters such as &, <, > etc.,) cannot be used in a url without being encoded i.e. a username of "test user" would become "test%20user". Whilst we could change the space to another character such as - or _, or even remove it, we prefer not to apply this as a default but instead leave it up to the user. For the user to correctly expose their vanityurl they should log in, go to their profile, hit my account, then click the manage accounts tab - they have a 1-time opportunity to select their desired vanity url. Note: this functionality is also usually used when multiple users select the same displayname -as only 1 can have that as the vanityurl then the first person to set it has claimed that url

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
New Post
12/28/2013 2:55 AM
Thanks Cathal.

I see how all this works for new users (just tested it as well). For existing users (from before DNN Vanity URLs and when I was still using URL Master), I still have a problem. The link to their profile is rendered as a Vanity Link, but with their display/user name, including spaces. This means they cannot get to their profile (and I assume if they could the one time Vanity URL option would not be there). Is there anyway to reset the full site Vanity URL so that everyone is like a new user and has the option to set a new Vanity name.

New Post
12/28/2013 8:17 AM
I've deleted any existing vanity names with a space. These users seem to now have the default profile link back. Hopefully, things should work as normal from here.
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Vanity URL with spacesVanity URL with spaces

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?