-1

I have an existing Web Application hosted in IIS which an ASP.NET MVC application. Now I want to add a sub application,But when I deploy, some relative paths like "~/" or "/" will be imported back to my parent application.

Example: The URL of the parent application is https://www.example.com/

Then my sub application is https://www.example.com/subApp/

When I try to click on the "subApp/test" page, it should be directed to https://www.example.com/subApp/test, but he still leads back to https://www.example.com/test.

How can I solve it? Can it be modified through Web.Config instead of going to each page one by one

wxr
  • 9
  • 4
  • Where did you click on the "subApp/test" page? Can you successfully access https://www.example.com/subApp/test? – Ding Peng Nov 23 '20 at 06:02

1 Answers1

0

check your URL rewriting module. if it is there?

Rana Mateen
  • 41
  • 1
  • 7