Redirecting calls to wp-admin folder to another symbolic link – breaks plugins
-
Hi all
I use wordpress as a framework for a web-service I develop, which among other things allow users to login and post content. Nevertheless, regular users don’t see the classic menues and Dashboard. They see a whole different design and menus.
I’ve been working and hacking wordpress for a while, and now I’m trying to rename the wp-admin folder.
Not for security reasons, just for convenience.I know that there are lots of issues with renaming this folder, so I created a symbolic link to that folder, named the link ‘newname’.
I also configured .htaccess to redirect all calls to that folder instead of the wp-admin folder.Basically, this works great.
The only problem is with the super-user’s area:
The plugins option pages (options and other info) in the admin area are broken.
For example, lets take the “roles management” plugin.
Clicking “users” menu and “roles” submenu, dumps this:
Fatal error: Cannot redeclare class RoleManager in /wordpress/path/wp-content/plugins/role-manager/role-management.php on line 2
This happens on all option pages for this plugin and all other plugins.Now, when I disable ‘newname’ folder and use wp-admin, everything works.
I also tried to scan all wordpress files for ‘wp-admin’ hardcode and replace with ‘newname’, but it just won’t do.Please help me on this,
should I supply any further info?
- The topic ‘Redirecting calls to wp-admin folder to another symbolic link – breaks plugins’ is closed to new replies.