This should solve your problem. Adapted from an answer found here.
Add the following snippet of code in the functions.php file of your theme:
function admin_default_page() {
return '/new-dashboard-url';
}
add_filter('login_redirect', 'admin_default_page');
More Related Contents:
- Phpstorm doesn’t know how to run WordPress
- How to integrate WordPress template with CodeIgniter
- Change WordPress Admin URL
- Redirecting WordPress’s Login/Register page to a custom login/registration page
- How do I generate a custom menu/sub-menu system using wp_get_nav_menu_items in WordPress?
- Fatal error: Switch statements may only contain one default clause (php7)
- Not receiving emails [phpmailer]
- PHP store hours, closed dates [closed]
- How to get like ‘next monday’ records from mysql database?
- How to Use AJAX in a WordPress Shortcode?
- Nginx serves .php files as downloads, instead of executing them
- Replace the Variable Price range by the chosen variation price in WooCommerce 3
- Change product prices via a hook in WooCommerce 3+
- With “magic quotes” disabled, why does PHP/WordPress continue to auto-escape my POST data?
- Create a folder if it doesn’t already exist
- PHP header(Location: …): Force URL change in address bar
- Add columns to admin orders list in WooCommerce
- Change COD default order status to “On Hold” instead of “Processing” in Woocommerce
- WordPress Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /wp-includes/wp-db.php:1570
- Custom order status background button color in Woocommerce 3.3 admin order list
- Facebook SDK returned an error: Cross-site request forgery validation failed. The “state” param from the URL and session do not match
- WWW to non-WWW Redirect with PHP
- Remove attribute values from product variation title and show them on separate rows
- Multi checkbox fields in Woocommerce backend
- Show hide custom Woocommerce checkout field based on selected payment method
- Add a line break in Woocommerce Product Titles
- dynamic class names in php
- GET a coupon code via URL and apply it in WooCommerce Checkout page [closed]
- If i use captcha will i be able to stop the spam completely in my blog?
- .htaccess – Redirect subdomain to folder