Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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 ...Remove ASPX extension as part of the core?Remove ASPX extension as part of the core?
Previous
 
Next
New Post
2/22/2011 7:34 PM
 
Hi All,

While I know there are third party modules available,  I always worry about having too many third party modules because of upgrade issues in the future.

Are there any plans to add "more friendly" extensionless URLs to the DNN core?

I think all the major CMS frameworks have this functionality built in.  When I try to tell someone a URL over the phone they always have trouble with .aspx

Also for radio advertising, etc... important to get rid of the ASPX to be a serious contender.  Including it in the core would lower the bar for many users with DNN.
 
New Post
2/23/2011 7:01 AM
 
This is an interesting question. It would indeed be nice to have by default, in DNN.

Although; you're not limited to using something in DNN itself -> IIRF is a free plugin, that redirects/rewrites URL's at IIS-level. This allows for an alternate solution, that is a little more generic.

Still, having a solution in DNN itself would be even better. It would be nice if, for example, the existing URL-rewriter module is extended to also support actual redirecting.
 
New Post
2/23/2011 12:32 PM
 
First, Windows determines a file handler by the file extension.  It's always worked this way.  Unix has never used extensions and instead the file type is contained in the file.  So any attempt to remove extensions in any Windows-based system is frustrating at best and futile at worst.

Second, you have no reason to hand out URLs with a file name.  You can use a redirect, either in DNN or in IIS, to direct a URL to a specific URL with file name.  You can also use the IIS default document to determine what file is served when a request for the site/folder is made.  Your business card doesn't need to show http://www.sample.com/default.aspx when the URL sample.com responds with the same page.

If you really have to have extensionless file names, the proper way to do it is by not using a Windows-based product.

Jeff
 
New Post
2/23/2011 1:42 PM
 
Jeff Cochran wrote:
First, Windows determines a file handler by the file extension.  It's always worked this way.  Unix has never used extensions and instead the file type is contained in the file.  So any attempt to remove extensions in any Windows-based system is frustrating at best and futile at worst.

Second, you have no reason to hand out URLs with a file name.  You can use a redirect, either in DNN or in IIS, to direct a URL to a specific URL with file name.  You can also use the IIS default document to determine what file is served when a request for the site/folder is made.  Your business card doesn't need to show http://www.sample.com/default.aspx when the URL sample.com responds with the same page.

If you really have to have extensionless file names, the proper way to do it is by not using a Windows-based product.

Jeff

I think you're missing the OP's point here.. DNN doesn't actually create a physical .aspx-file for every page you create.. Instead, you must pass the pages' TabID in the URL, to go directly to that page.

If for example, the OP has a specific page with a sample title 'Seminar 2011' with ID '40', the direct URL would become something like http://www.theopsdotnetnukesite.com/S.... It would however be nice if there was an easy default way in DNN to define a custom URL-alias (for example: www.theopsdotnetnukesite.com/seminar2011) that redirects/forwards to the former.

Now you tell me; which of both would you choose for putting on your businesscard?
 
New Post
2/24/2011 7:40 PM
 
Exactly!!!

I love DNN and I've tried Joomla and Drupal... they're fine.. but  I wanted to like Joomla or Drupal better because it's linux which means cheaper hosting, etc... but stick with DNN because it's just so user friendly.  I can literally teach an older not-so-tech-saavy secretary with little computer knowledge how to add a page and a module and some text in a few minutes.  Then I go in and have to make it look nice, adjust alignment, add pictures, etc... but it's just easy to delegate with DNN.

One glaring thing missing is the marketability of sites that extensionless sites provide.

While I have "hacked" it by creating directories and html redirects, it's not as ideal as a built in DNN solution.

e.g. in NoBody's post.. I could create a folder in the root directory called seminar2011 and place index.htm that contains:

<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.theopsdotnetnukesite.com/Seminar2011/tabid/40/Default.aspx">

Then, I can advertise http://www.theopsdotnetnukesite.com/Seminar2011/

Still, not the ideal hack...when I think it could easily be built into the core...
 


 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Remove ASPX extension as part of the core?Remove ASPX extension as part of the core?


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out