GetSimple Support Forum

Full Version: How to hide login page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how can i hide admin login page? (i.e. site/admin)
In the config file, you can rename 'admin' to anything name you want. I hope this helps!
eatons Wrote:In the config file, you can rename 'admin' to anything name you want. I hope this helps!
in the gsconfig.php i renamed line


# Change the administrative panel folder name
define('GSADMIN', 'admin12387874587sdfuoisudfsdlfkjaskdjfwoieuroiweuprlskjdflksdjf');


when i open sitename/admin it shows error, where is this new folder shown
Unable to open Z:\home\getsimple2\www/admin12387874587sdfuoisudfsdlfkjaskdjfwoieuroiweuprlskjdflksdjf/lang/


when i open http://sitename/admin12387874587sdfuoisudfsdlfkjaskdjfwoieuroiweuprlskjdflksdjf/
it also shows error
You have to rename the folder also.
Thats what that config option is for.

You can also use an htaccess rule to block access, or change its permissions.
Or password protect it with your webserver.
shawn_a Wrote:You can also use an htaccess rule to block access, or change its permissions.
Or password protect it with your webserver.
i do not know how to do this.
can you please write instructions. thanks.
shawn_a Wrote:You have to rename the folder also.
Thats what that config option is for.

after renaming folder everything works.
Thanks.