You have to use a redirect not just a rewrite:
^dashboard(.*) wp-admin$1 [L,R=301]
WordPress is using a hard coded search for wp-admin
in the request URI.
Related Posts:
- How can I make WordPress work with a Symfony app?
- issue with wordpress [wp-admin] redirects, when using kubernetes ingress hosting two wordpress websites using path
- How to create custom URL routes?
- remove “index.php” from permalinks
- How to redirect/rewrite all /wp-login requests
- Change Login URL Without Plugin
- How to change default page slug?
- Mod_rewrite delete parameter in 301 Redirect
- .htaccess rewrite rule for removing .php extension with exception of wp login and wp-admin
- Need to make a php file inside theme accessible via url
- How to change “wp-admin” to something else without search-replacing the core?
- Evaluating a external rewrite rule before internal wordpress rewrite rule
- Custom rewrite rule for backend/admin?
- Prevent /wp-admin/ from redirecting to homepage?
- Rewrite rule to load images from production does nothing
- Rewrite Rules Are Redirecting and Not Passing VARs
- WordPress rewrite rules don’t need ^?
- Custom rewrite not working
- WP is ignoring .htaccess rewritten URL
- ReWriteRules and WordPress Multi-Sites with Sub Directories
- Rewrite wp-login.php URLS to static pages?
- Rewrite custom post type URL parameters
- Rewrite URLs – Custom Post Type – Post Slug, Taxonamy Slug
- URL Rewriting for PHP script on an image URL
- Change pagination url format
- How to remove specific category from URL in WordPress
- Rewriting “pretty” blog category URL with htaccess / add_rewrite_rule() causes 404 page
- Custom Rewrite rule to captured post (rewrite rule to rewrite rule)
- Taxonomy Pagination Rewrite
- URL rewriting with custom user meta “/%shop_name%/gallery/%gallery%”
- Localize URL bases
- How can I create custom URL routes?
- How do I make WordPress revise an .htaccess file a certain way?
- Rewrite rules for custom post type
- How to change an existing wordpress page rewrite rule?
- Weird urls after moving site from local env to a server
- Pretty URL via Rewrite
- Custom Rewrite for Profiles
- help with rewrite_tag and rewrite_rule for custom page GET variables [duplicate]
- Can’t get pretty permalinks to work without index.php
- Changing the ‘wp-admin’ URL to whatever I want
- How do I remove a rewrite rule?
- How can I improve the line break handling in the WYSIWYG editor?
- Add mass action to wp-admin/users.php
- Only allow administrators and editors to access wp-admin
- add_rewrite_rule, plugin activation and plugin deactivation
- wp-admin – save options without refreshing?
- Custom rewrite rules are sending everything to index.php
- Custom rewrite rules for feeds of custom queries (query_var query strings in URL)?
- How do you modify CSS files via admin panel?
- WooCommerce – filter by featured products in admin
- How to prevent parent admin page from appearring as a child admin page
- How to clone wp-admin and make a new dashboard controlled by your code?
- Multiple Permalinks for Same Post
- What is an “Options Framework” for WordPress
- show/hide toggle for subpages in wordpress admin area
- How to display a Ninja Form on the WordPress admin pages
- Remove “/page/1” from the URL
- Is it possible to add an item the Post Publish panel?
- custom template rewrite
- Add count for new registered user in Users tab
- How To Differentiate Drafted product and Publish Product through Color?
- WP admin page gives 404
- Append query string to all URL’s
- QSA Rewrite Rule
- An update has caused my client’s site to be non-existent after new update of WordPress [closed]
- White screen of death for wp-admin and error for wp-login.php after entering credentials
- ReWrite rule for files of a previously standalone blog moved to network
- How do you force the wordpress dashboard to be 1 coulmn by default?
- website with pretty permalinks except pagination
- How can I prevent redirects from mysite/page to mysite/wp path/page?
- Add styles to wordpress admin on the Page List
- making users.php search include a specific user meta data field without messing with the SQL query itself
- Redirect an entire WordPress site on a subdomain, except wp-admin
- How to rewrite the post slug of a custom post type post
- WordPress Admin Toolbar Disappeared when moved site to subfolder
- Admin sometimes redirects to HTTPS
- Do rewrites added with add_rewrite_rule() persist after plugin deletion?
- define two login page url
- Use URI suffix as parameter and ignore when resolving page
- Rewrite the search page to use an appended slug + parameter
- How do I get the correct URL?
- Why wordpress rewrite my custom URL?
- WordPress Redirects to a cancelled domain, need to change it but can’t get to the admin portal
- WordPress Admin Login Issue
- Rewrite rule not working, suspect redirect string
- Wp-admin Redirection loop after moving to subdirectory
- Show only childs and grandchilds of certain post in admin
- WordPress logged in but no access to wp-admin
- Changed the path to wp-login and now can’t access WPress dashboard
- Creating another wordpress site as sub-domain of a wordpress site
- Mixed content and expired session issues with SSL and wp-admin
- Custom taxonomy Rewrite Rule
- Prevent guessing slug
- Virtual Page with Registration form
- wp-admin blank page after admin login and all security off
- Redirecting the user to the admin table area after publishing a post, getting an invalid response error?
- How can you change the admin dashboard URL without symlinking?
- Change variants URL
- Degraded WordPress admin dashboard performance [closed]