Recently we have upgrade our DNN from v7.4.2 to v9.3.2.
And for security reason we want to have a unique Login page url to prevent hacker for trying to Login to the Website.
I've create a new Login page lets call it "uniqueLogin", add Login module and then set the default Login page to it.
Test it and its working fine, the issue is when typing [domain]/Login on web browser it still show the default Login page, as we don't want this to happen.
I see on some old forum, to create a page call "Login", and put nothing in it. The problem is, whenever I try to create "login" page, is not allowed. Got error message "Login is invalid Title" (Login is reserved keyword).
Is there any way to have a unique login page and disable default login page?
You could use a rewrite rule in the web.config that send the /Login url to a different page/url/site. The code must be placed in the <system.webServer>
node.
<rewrite>
<rules>
<rule name="NoLogin" stopProcessing="true">
<match url="^login$" ignoreCase="true"/>
<action type="Redirect" url="http://{HTTP_HOST}"/>
</rule>
</rules>
</rewrite>