How To Redirect cPanel Login With Page Rule?


Dear All

We know that website with cPanel hosting can be accessed through domain,com/cpanel then redirected to cPanel login access such domain,com:2083 etc.

I know this is normal. But I want to remove (or hide) this feature. So, there’s no one can access cPanel login via domain,com/cpanel etc. I just curious if page rule can fix this issue. At least make redirect from domain,com/cpanel to home page or 404?



I’d try this with a couple of page rules. Match:

First rule: **
Second rule: **

Then Forward (Code 301) to your home page’s URL.


It works. A thousand thanks for you, Sdayman.

closed #4

This topic was automatically closed after 14 days. New replies are no longer allowed.