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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...cannot get url routing workcannot get url routing work
Previous
 
Next
New Post
11/11/2012 11:52 PM
 

i have a main web app app.com

setup the dnn cms as virtual dir in it, app.com/cms

I want to route app.com/en-us/home -> asp.com/cms/en-us/home.aspx

 RouteTable.Routes.MapPageRoute("Home - en", "en-us/home", "~/cms/en-us/home.aspx", false);

i keep getting 404 error

explicitly access the page asp.com/cms/en-us/home.aspx work ok.

...

if i create a test page home.aspx in the web app, testing app.com/home -> asp.com/home.aspx

RouteTable.Routes.MapPageRoute("Home 2 - en", "home", "~/home.aspx");

it work. so url routing is ok

what am i missing? or asp.net cannot route to separate/external site page?

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...cannot get url routing workcannot get url routing work


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