Based on Charles Clarkson’s comment, I directly changed the siteurl and home options in the wp_options table to be https://dev.example.com/ and this fixed the problem for me.
Related Posts:
- Wildcard multisite wp-admin url wrongfully redirected
- “Too many redirects” ONLY when trying to access wp-admin page
- Admin Page Redirect
- Unable to login and wp-login.php redirects to wp-admin%2F&reauth=1?
- Wrong canonical link on wp-admin pages
- stop redirection on /wp-admin call to /wp-login
- wp-admin produces a 302 redirect to itself
- Users are redirected to homepage instead of wp-admin
- Unwanted redirect in admin area
- Login to wp-admin “redirect_to” points to wrong URL after migration
- wp-login.php — redirect logged in users to custom URL
- Can’t access wp-admin Internal Server Error 500
- Can’t access admin dashboard with wp-admin without /index.php after it
- Change Dashboard url
- Why is there an intermediate redirect to https://public-url.org/wp-admin?
- Prevent /wp-admin/ from redirecting to homepage?
- https://mydomain/wp-admin redirects to wp-login.php?redirect_to=https%3A%2F%2Fmydomain%2Fwp-admin%2F&reauth=1
- Redirect non-admin users away from wp-admin/index.php (main dashboard page) to wp-admin/profile.php
- WordPress (behind HAProxy and Jetty), not multisite, in sub folder – and /en/wp-admin/ keeps redirecting to /wp-admin/
- Created a new subdomain with same content. Should I add a redirect in my old subdomain?
- wp-admin – 404 after custom login form
- How to fix ‘WordPress redirection loop problem in wp-login.php page’?
- Logging into sandbox subdomain WP
- new subdomain to apply as main domain
- wp-admin 302 redirects
- Too many redirects after added SSL redirect on port 80 virtual host
- Can’t access wp-admin, redirects to http://%24domain/wp-admin/
- Unable to properly login
- Restrict access to admin-post.php
- Redirect an entire WordPress site on a subdomain, except wp-admin
- Admin sometimes redirects to HTTPS
- Run two wordpress on the same domain
- Too Many Redirects – WP-Admin Only
- WP Admin Login keeps redirecting to login
- CPU overload spam – redirect link to wp-admin and new post
- How to access wp-admin from original website after setting the domain redirect/forwarding
- WordPress /wp-admin redirect to wrong port in docker
- Login redirect_to url is pointing to a url with the port
- How can I change block editors suggested links to display another url (i.e. from api.mysite to www.mysite)
- Redirect from wp-admin back to page
- Can’t access WP-Admin via HTTPS
- Wp-admin Redirection loop after moving to subdirectory
- Trying to login to my site redirects me to the first page
- Avoid executing a function (redirect) if I’m in the admin area
- stop customize.php redirect to login page if admin is not logged in
- wp-admin redirects to standard wordpress page
- I cannot go to http://novathon.cloud.reply.eu/wp-admin – always redirected to /wp-login
- Unable to log in as admin
- Random HTTPs redirections at admin area in shared hosting
- Creating another wordpress site as sub-domain of a wordpress site
- Moved from WP.Domain to Primary Domain, Can’t Login
- How can visitors redirect wp-admin to the homepage?
- Why when I click on a link into the WP admin panel I am redirected to a link that doesn’t contains wp-admin prefix, so I obtain 404 error
- Word press wp-admin redirecting to reauth=1
- Where can I find admin-header.php file online?
- class-wp-hook.php on line 288
- Trying to get custom js files in my admin header
- How to disable categories/most used in ‘add new post’?
- Why am I locked out of the system?
- Am I able to change the name of /wp-admin/options-general.php?
- how to customize the default #adminmenu in wp-admin
- blocking the admin section (but still using admin-ajax.php)
- How to Restrict Access to all wp-admin pages for subscriber users
- How can I redirect some pages to new subdomain? [closed]
- WP Admin messed up
- Why when I try to access to this old WordPress site it is opened the installation page?
- How do I change the hover (focus) color of admin bar from frontend?
- Wp-Admin extremely slow!
- nothing comes up when i go to my website.com/wp-admin? Which files should I look for?
- Programmatically emulate viewing a post in wp-admin
- Do not load the site as soon as you enter the WordPress panel
- Line-height of text in wp-admin
- Slow WP loading due to persistent version check, how to disable?
- Can I manage the photos that are pulled from Instagram before they are uploaded?
- do_shortcode() within Admin Page
- Not able to access WP Admin, it says “Sorry, you are not allowed to access this page.”
- Form input values are empty after submit
- After switch domain, some parts of my site still point to my old domain
- Adding custom classes to elements via the WYSIWYG
- Locked out of WordPress after changing to HTTPS – Google Cloud VM
- How to make Media Library use HTTPS?
- Why does wordpress and my site create a downloadable file instead of allowing me to login?
- How to Fix WordPress Not Saving Settings?
- Admin Login Checks
- Search plugin form on “Add Plugin” page not working
- Managing advertising code snippets
- admin_url() do not retrieve the correct url in an subdirectory install
- WordPress Admin panel issue
- Can’t toggle between Visual and Text or Screen Options
- Is there ever a legitimate reason for an outsider to access wp-admin
- Impossible User Registration
- Move Custom Taxonomy Menu to Top Level Admin Menu
- Extend user search in the users.php page to allow for searching by role and excluding specified email domains from the “users search” input box
- get_current_screen() does not return parent_file
- Valid WordPress html elements
- Unable to access WordPress admin panel
- Is it possible to hide or encrypt the display name after login into the WordPress admin panel?
- Make multisite non-existing subdomains go to homepage instead of Index of/ page
- Error 403 on wp-admin – Redirection to upgrade.php
- Fatal Error in my WP “Call to undefined function get_option()”