Ekushey

Active Member
Oct 26, 2011
35
4
133
Bangladesh
cPanel Access Level
Root Administrator
Twitter
To remove /cpanel URLs, remove/change the the following line located on the /usr/local/apache/conf/httpd.conf file:

Code:
ScriptAliasMatch ^/?cpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
Then run the following commands for the changes to take effect:

Code:
/usr/local/cpanel/bin/apache_conf_distiller --update
/scripts/rebuildhttpdconf
/etc/init.d/httpd restart
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Hello :)

Note that if prefer an alternate redirect, you may need to develop your own custom redirect script similar to to the existing one referenced in the post above.

Thank you.