change ADMIN_DIR constant
|
19 posts
|
If the constant ADMIN_DIR , in config.php is changed the admin panel doens’t work, for all subactions give back a 404 error . |
|
291 posts
|
Did you rename the real dir too? |
|
19 posts
|
yes . |
|
9 posts
|
I know this post is a few months old but not sure if you have worked this one out… Have just been setting up a new site and wanted to alter the admin folder name and ran into this same issue. I found that I also needed to update the .htaccess file to overcome this issue. In the .htaccess file you will find the line:
You need to alter this and replace the two instances of the word “admin” with whatever you have renamed the admin folder to. Hope this helps anyone else running into this issue. |
|
4 posts
|
Thanks a lot creativechaos, it fixed the issue for me now. |