Home Blogging Sun WordPress Tips & Advice

WordPress Tips & Advice

Step 1. Finding file wp-config.php in your wordpress root file and adding 2 these codes: define('WP_ADMIN_DIR', 'your-custom-folder'); define( 'ADMIN_COOKIE_PATH', SITECOOKIEPATH . WP_ADMIN_DIR); Step 2. Go to the theme that you are using and open the functions.php file Add this code to the bottom of the file: add_filter('site_url', 'wpadmin_filter', 10, 3); function wpadmin_filter( $url, $path, $orig_scheme...