I am using ASP.NET MVC routes to direct traffic based on certain words, for instance mydomain.com/support which directs to the support page (under the Home controller), or mydomain.com/controller/action/id as per default.
However I would also like traffic to have the ability to use any single word after the gTLD – that I haven’t already specified – to hit my home page.
For instance: mydomain.com/anything would still hit my home page and not produce a 404 response. Where anything is any word other than what I have already specified (so in this example “support”).
Is this even possible?
You just do something like this don’t you?
?
And update your action (Index in this case to have a word parameter).