Vvveb icon indicating copy to clipboard operation
Vvveb copied to clipboard

Custom Admin URL

Open wiserpandacom opened this issue 1 year ago • 3 comments

Hi. Love the simplicity! I wasn't able to change the admin url during installation. How can I rename it?

wiserpandacom avatar Nov 11 '24 16:11 wiserpandacom

Hi

Thank you.

You can manually change the admin login path to something like /admin-123 by changing line 25 in config/admin.php to

'path'  => 'admin-123',

then rename /public/vadmin to /public/admin-123

Delete /public/admin/index.php to disable the default /admin login page after checking that /admin-123/index.php page works.

Changing admin login page only works if your htdocs is set to /public folder.

givanz avatar Nov 11 '24 16:11 givanz

Thanks for your response. On cPanel, I tried installing on root /public_html directory and could not make admin rename work. I see that you're listing /public instead of /public_html.

Also tried cPanel domain document root as /vvveb/public. No luck.

wiserpandacom avatar Nov 11 '24 19:11 wiserpandacom

If you can't change your htdocs folder to /public_html/public then you change your admin login page path by creating a new folder like /public_html/admin-123/ and move /public_html/admin/index.php to /public_html/admin-123/index.php .

Then you can use /admin-123/index.php to login.

givanz avatar Nov 12 '24 12:11 givanz