How to mask the controller and action name from the browser?
问题 I want to display just the host url in the browser. Example: www.test.com/account/login or www.test.com/contact/index or www.test.com/order/details/12 to only display: www.test.com in browser 回答1: First of all in terms of usability and in terms of SEO, what is considered "good content" is something that your users can link to . If you build a "page" that has no URL path, then your users won't be able to link to it, share the link, etc. Search engines will also not be able to crawl it, so it