Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Admin URL #219

Open
wiserpandacom opened this issue Nov 11, 2024 · 3 comments
Open

Custom Admin URL #219

wiserpandacom opened this issue Nov 11, 2024 · 3 comments

Comments

@wiserpandacom
Copy link

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

@givanz
Copy link
Owner

givanz commented Nov 11, 2024

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.

@wiserpandacom
Copy link
Author

wiserpandacom commented Nov 11, 2024

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.

@givanz
Copy link
Owner

givanz commented Nov 12, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants