Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Rewrite URL: Remove folder name from URL
Previous Previous
 
Next Next
New Post 5/12/2008 4:38 AM
User is offline Mahesh K. Anjani
39 posts
10th Ranked


Rewrite URL: Remove folder name from URL 

Hello Friends,

I want to remove the folder name that appears in my DNN portal URL.

Currently I am referring my portal using following URL http://www.dnnportal.com/mywebsite (The URL is dummy just to explain the scenario).

The www.dnnportal point to a physical directory named "DNNPortals" this directory contains a default.asp page which redirect the http://www.dnnportal.com to http://www.dnnportal.com/mywebsite.

When ever I browse any page the mywebsite comes in URL. I want to remove it from the URL.

Is it possible to do using URL rewriting? Can I do it using "Friendly Url Settings" OR " Request Filter Settings?

Thanks,
Mahesh

 
New Post 5/12/2008 4:49 AM
User is offline Sebastian Leupold
13732 posts
www.deutschnetnuke.de
1st Ranked












Re: Rewrite URL: Remove folder name from URL 

Alter your IIS web site configuration pointing directly to your DNN installation directory. Make sure there is a portal alias for www.dnnportal.com added in Host :: Portals first.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 6/2/2008 1:18 AM
User is offline Mahesh K. Anjani
39 posts
10th Ranked


Re: Rewrite URL: Remove folder name from URL 

Hi Sebastian,

Can't I use HostHeader to remove the folder name from URL. I don't know what setting required in IIS and Web.config to use HostHeader. If you have any idea then please provide me steps to configure HostHeader.

Your help highly appreciated

Thanks,
Mahesh

 
New Post 6/7/2008 5:29 AM
User is offline Mahesh K. Anjani
39 posts
10th Ranked


Re: Rewrite URL: Remove folder name from URL 

 Mahesh K. Anjani wrote

Hi Sebastian,

Can't I use HostHeader to remove the folder name from URL. I don't know what setting required in IIS and Web.config to use HostHeader. If you have any idea then please provide me steps to configure HostHeader.

Your help highly appreciated

Thanks,
Mahesh

Hi Sebastian,

Any comment?

Regards,
Mahesh

 
New Post 6/8/2008 3:15 AM
User is offline Sebastian Leupold
13732 posts
www.deutschnetnuke.de
1st Ranked












Re: Rewrite URL: Remove folder name from URL 

you need to make sure, your requests get directed to DNN, i.e. you would need URL rewrite on IIS level. IMO adjusting IIS configuration is much easier and doesn't produce overhead. Are you hosting your web site with a provider? I suggest to contact the support team for assistance. If you are hosting the web site yourself, make sure, you created a web site for your DotNetNuke (not a virtual folder in default web site), this requires Windows Server or Windows Vista.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Rewrite URL: Remove folder name from URL
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Faculty of Graduate and Postdoctoral Studies
At the graduate level, the University of Ottawa offers more than 180 graduate certificates, master's degrees and PhDs, as well as interdisciplinary programs such as Women's Studies and Canadian Studies. Many postdoctoral opportunities are available in both the sciences and the humanities. For further information, please consult the site of the Faculty of Graduate and Postdoctoral Studies.
www.grad.uottawa.ca
Vekkin Solutions
Vekkin Solutions provides complete website solutions and custom module development to churches and small businesses.
www.vekkin.com
Powered by Adcuent®.Com
Adcuent® Consulting & Technology offers custom development web applications and hosting projects under the brand of Powered by Adcuent®.Com
www.adcuent.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP