Chaging wp-admin to admin-panel
Author: | sarankumar (profile at wordpress.org) |
WordPress version required: | |
WordPress version tested: | |
Plugin version: | 0.2 |
Added to WordPress repository: | 18-06-2014 |
Last updated: | 20-06-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 1 |
Plugin URI: | http://www.yatramantra.com/ |
Total downloads: | 3 781 |
Active installs: | 30+ |
Click to start download |
Plugin change the wp-admin url to admin-panel(or anything you want) in wordpress admin area without breaking anything. eg: http://www.example.com/wp-admin/ to http://www.example.com/admin-panel/
Steps you should follow for working this plugin correctly :
Step 1: add this code to your wp-config file(screen shot-1).
define('WP_ADMIN_DIR', 'admin-panel');
define('ADMIN_COOKIE_PATH',SITECOOKIEPATH.WP_ADMIN_DIR);
Step 2: add this rule at the top of the your htaccess file(screenshot-2).
RewriteRule ^admin-panel/(.*) wp-admin/$1?%{QUERY_STRING} [L]
Step 3: Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page. Refer screenshot for clear understanding.
Why this plugin need manual editing :
- There is no option for inserting values wp-config file using wordpress hooks/filters
- its difficult to add new rules in htaccess file with wordpress hook.
Because of this two reasons i cannot build a fully automatic plugin.Suggesions for improving this plugin is always welcome.
Warning :
- Use this plugin at your own risk.
- Don't Activate the plugin on live website.You will loss wp-admin access.
- USE ONLY YOU HAVE ROOT ACCESS.
- For working this plugin correctly ,you should follow the steps correctly.