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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsOther Extension...Other Extension...DNN API - Get rid of /DesktopModules/DNN API - Get rid of /DesktopModules/
New Post
4/30/2014 12:47 AM


after having a brief introduction to the (obviously really powerful and technically awesome – I love it!) DNN 7.1 Web API, being half developer, half marketing guy, I asked myself: Is there a way to get rid of the (you have to be honest – technically really) unnecessary and kind of url-wise-disgusting “/DesktopModule/” part in the API’s URL? Maybe by URL-rewriting?

I’ve been developing DNN-Modules since DNN 1.x, changed to sales and marketing later, but, from a developer’s point of view, never liked this part of the URL, even back in the days. When it comes to API-URLs, where your users and customers are actually going to see it, it gets even worse – and unnecessary questions come up from the management. So, to the core-team: Since the “/DesktopModules/” Folder has become so important to the whole platform and since “DesktopAnything” sounds old-fashioned to anyone who’s on a tablet, phone or any mobile device: Do you see any chance to rename the filepath to something “neutral” (like “DM” or “DNN” (regarding the marketing aspects)) or, even better – by URL-Rewriting – simply get rid of this part of the URL, at least for DNN-based APIs and API-calls? Maybe even introduce a new folder called “API” in parallel to the “/DesktopModules/”-Folder (- for the classically developed modules, where the user usually doesn’t see the URL?).

If there’s a way to URL-Rewrite the API-requests (I don’t see it - that's my question after all), I’d be happy to get a hint. If not so, I’d be happy, if someone at the core-team would find a way to make the API-calls more elegant to the customer/user.

Thanks for your hard work for the community,


New Post
4/30/2014 12:37 PM

typically its not something people worry about as the ajax requests happen within the page so the urls aren't visible - but I take your point that if you wanted to share them it might not be ideal. I guess you could use siteurls ( to rewrite a shorter path to the longer expected version, but I've not tested that.

I'd recommend logging your suggestion to about allowing a shorter "alias" for service framework requests.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsOther Extension...Other Extension...DNN API - Get rid of /DesktopModules/DNN API - Get rid of /DesktopModules/

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?