Making WP Admin Folder accessable JUST under a different link

There’s a thread about this on the WordPress forums: http://wordpress.org/support/topic/how-to-change-the-admin-url-or-wp-admin-to-secure-login?replies=13 The original article has three steps: (1) Add constant to wp-config.php define(‘WP_ADMIN_DIR’, ‘secret-folder’); define( ‘ADMIN_COOKIE_PATH’, SITECOOKIEPATH . WP_ADMIN_DIR); (2) Add this filter to functions.php add_filter(‘site_url’, ‘wpadmin_filter’, 10, 3); function wpadmin_filter( $url, $path, $orig_scheme ) { $old = array( “/(wp-admin)/”); $admin_dir = WP_ADMIN_DIR; $new = array($admin_dir); … Read more

WordPress Admin panel issue

When you enqueue new libraries to WordPress for the sake of front-end effect only, it is highly recommended to preface the function in the conditional if (!is_admin()); , thus: /** * Load newer jQuery min file. */ if (!is_admin()) add_action(“wp_enqueue_scripts”, “my_jquery_enqueue”, 11); function my_jquery_enqueue() { wp_deregister_script(‘jquery’); wp_register_script(‘jquery’, “http” . ($_SERVER[‘SERVER_PORT’] == 443 ? “s” : … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)