I would redirect site1.com\site2 to site2.com , I am working with asp.net and MVC4, I couldn’t do it with changing web.config file , is there any solution? I don’t like Search Engine takes this a permanent redirection(Status 302) or (Status 301) and removes site2 from its database.
I would redirect site1.com\site2 to site2.com , I am working with asp.net and MVC4,
Share
Map the route “site2” to an action of one of your controllers.
The action response for that route should be: