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 ..."Default.aspx" - Is it possible?"Default.aspx" - Is it possible?
Previous
 
Next
New Post
12/1/2009 4:28 PM
 

 Hello..  We're in the process of converting a site over to DNN from .NET.  Well, it appears as someone in another department sent out a lot of fliers with "http://website.com/ourdepartment/default.aspx" as their main page.  I can not get DNN to create a default.aspx page so if someone were to completely type in the URL as in the flyer, they can't see this departments main home page.

How would I resolve this issue so it works properly?  Thanks..

 

 
New Post
12/2/2009 3:00 AM
 

You could actually create that directory on the web server and add a page called default.aspx in that directory and set the file up to do a 301 permanent redirect to the appropriate page in Dotnetnuke.  That would probably be the simplest solution.

You could also look at the formulas for url's to try to resolve that page to the appropriate page, but I've not done that before and don't know anything about how to create such a formula, only that it may or may not be possible.

Another solution might be a third party url module like "ifinity", but I'm not sure if that would work either.  Of course, you'd want to bill the cost of such a module to the person who created the fliers. ;)

I think the 301 redirect with an actual page created outside the dnn platform is going to be the easiest.  DNN won't have problems with foreign files stuck in there, it will just ignore them.  I've actually had dnn set up in a root folder with a php script based website in a subdirectory and both worked fine, they just ignored each other.  Well, as an added bonus a dnn backup module that was set to back up the physical files also backed up the php directory, other than that there was no interaction or interference either.  I've also done this when converting one website over to dnn, I actually placed all the current sites aspx files in the dnn root with 301 redirects to the new dnn page to avoid any issues with search engines not finding the pages, and then there was no need to resubmit anything to search engines either.


JOHN GIESY
DotNetNuke Hosting Expert

DotNetNuke 7 Hosting $70 /year
DNN4Less.com Team DotNetNuke  

New Post
12/2/2009 8:59 AM
 

Hello..  Thanks for the reply..

I tried this, but it won't work..  I should have entered the URL correctly.

The proper URL is http://website.com/departments/ourdepartment/default.aspx

Departments, is a "virtual" folder within DNN and below that is the actual deparments and their home pages; main.aspx.

If I create a virtual directory within IIS, then the "virtual" Departments folder within DNN doesn't work properly, nor does the "ourdepartment/default.aspx" page come up properly.

I'm not sure, but I may see if there's a setting within IIS which when http://website.com/departments/ourdepartment/default.aspx is seen, IIS will redirect it to another page properly.

Any other ideas?  Thanks..

 
New Post
12/2/2009 9:15 AM
 

you cannot create a virtual IIS directory within a dnn child portal. you may create physical subdirectories and files inside the child portal physical folder, redirecting to the correct current page.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/2/2009 9:36 AM
 

Hello all..

I was able to get things working properly..

I created a physical folder/subfold called departments/outdepartment and then installed http redirect within IIS7.  I then configured it so that any requests to this folder gets redirected to the proper location.

Alls well..  Thank you everyone for your suggestions..

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ..."Default.aspx" - Is it possible?"Default.aspx" - Is it possible?


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