Page 1 of 1
Help to change admin login url
Posted: Sun 5. Jan 2025, 20:28
by loukas25
Hello guys and happy new year everyone! Please if anyone knows help me to change admin login url. I've tried to modify some files, but ш can't.
Thanks in advance.
Re: Help to change admin login url
Posted: Mon 6. Jan 2025, 18:54
by Gert
Hello,
sorry, but I do not understand what you mean,
Gert
Re: Help to change admin login url
Posted: Mon 6. Jan 2025, 20:04
by loukas25
Gert wrote: ↑Mon 6. Jan 2025, 18:54
Hello,
sorry, but I do not understand what you mean,
Gert
Hello friend.
I mean admin login link /?
login to something else
Re: Help to change admin login url
Posted: Tue 7. Jan 2025, 09:05
by Gert
Hello,
ok, a quick and dirty solution, ./cmsimple/login.php, add two new lines after comment section on top:
Code: Select all
...
END CMSimple COPYRIGHT INFORMATION
==================================================
*/
if(isset($_GET['login'])) $login = false;
if(isset($_GET['xyz'])) $login = true;
...
Login now:
.../?&xyz
.../?xyz
.../?CMSimple_Page&xyz
The loginlink does not work anymore, but I guess you want to login by the address line of the browser anyway,
Gert
Re: Help to change admin login url
Posted: Tue 7. Jan 2025, 11:24
by loukas25
Thanks for the reply, everything works fine after editing.
I have removed the login link in the footer from the .htm file because i don't want it to be visible.
Thanks again for the service.
Keep up the good work.