Easy solution would be adding this line to your wp-config.php
of your admin server code.
define( ‘WP_SITEURL’, ‘http://’ . $_SERVER[‘SERVER_NAME’]);
Then you can access it without modifying the database option.
Related Posts:
- Site redirects to wrong url when saving settings
- Can I check for maintenance mode before redirecting to subdomain?
- Force WordPress to load from site’s hostname
- Some admin pages redirecting to front page on save
- Two WordPress installations: One in root and one in sub directory – no images in subdir installation [closed]
- How to redirect the frontend of a WordPress site (only)?
- Permalinks do not include www subdomain
- When i try to enter subdomain i’m redirected to main domain
- Can’t login to WordPress admin panel after changing domain to use WordPress pages as a fallback from React
- Need to redirect from Apache2 Ubuntu Default Page to home page in wordpress
- How to Block WordPress from subdomain?
- Logout redirect to home page
- Redirect page URL to home URL without using a plugin
- check first time login only
- How to change the default logout link on WordPress Admin
- How to setup 301 redirects for multiple query string URLs?
- Sub domain redirection to taxonomy
- Redirect users after first login
- Redirect to current page after wordpress login
- How does WordPress redirect to WooCommerce shop page? [closed]
- htaccess redirect not working
- 301 Redirect Custom URL hierarchy to WordPress Posts
- Plugin Redirect After Activation
- 404 redirection and Google’s index [closed]
- WWW to non WWW redirect effects on load speed
- Wp Login redirect strips parameters from url
- Mixed Content with SSL, wordpress behind a reverse proxy
- How to redirect user to specific page based on the input password
- Strange redirection issues on wordpress from ssl with padlock to ssl without padlock
- Redirect away from login page
- Redirect home to another page with htaccess
- How do I redirect /search/ to ?s=
- 301 Redirect Loop
- Redirect if $_Server[‘REQUEST_URI’] is /wp-login.php?checkemail=registered
- Redirect from home page to post list page?
- set up 301 redirect within wp-content/uploads/ directory of a WP site to a new image URL
- How to redirect user after login to a specific page?
- .htaccess Redirect
- Redirect when accessing /login when logged in
- Local Environment Stripping Port Number…help tracking down the redirect?
- User is logged in after Stripe payment, then redirected, but is then logged out again
- How To Fix A Redirect Chain
- Masked a external URL and redirection plugin
- 301 Redirect Old URL to New WordPress Page
- Login Redirect – Multiple Scenarios
- URL masking of subdomain to main domain using .htaccess
- How to use different domains for different blogs hosted in the same host in subdomains with .htaccess
- Redirect outside WP after login
- Redirecting from wp-content?
- Redirect non existing page to frontpage
- How do I do a redirect to WordPress permalink with post id via htaccess?
- Redirect user on first visit based on geographical location
- Create a permalink to a pdf?
- My site doesn’t redirect from HTTP to HTTPS
- Bedrock WordPress
- Only execute function if SSL is set up properly
- Redirect User to login page
- Redirect After Login Error
- Redirect after get_delete_post_link
- Is it possible to detect if a POST action is for a “Save Post” before the save_post action?
- Disable and Hide WP-JSON
- URL redirection
- Redirect when not logged and parametr in link
- Browsers Forcing Multisite to https
- Is it possible to change redirect template through a shortcode?
- How do redirect user back to previous page when on certain pages?
- Hide a Post everywhere except on redirect
- Keep the old referrer after failed login
- How to 301 redirect WP posts id “/c/94940894” to permalink with post name?
- WP 301 redirect does not work
- URL redirect regular expressions redirecting all after first viriable
- 301 Redirect Link to Media
- WordPress Redirect post to outside website based on useragent
- WordPress site not forcing from http to https instead getting redirected too many times
- How to create mass 301 redirects with PHP in Nginx server without using a WP plugin
- HOW do you Redirect buddypress login to EDIT tab not PROFILE tab on profile page? [closed]
- WordPress redirects to backend when i’am not logged in
- Redirect to custom admin menu after plugin activation
- home page redirect loop after update to 4.8
- Moving site from HTTP to HTTPS
- 301 Redirects when change URL in WordPress database
- How can I redirect to another page with screen already at the bottom of the page?
- How is this URL being redirected?
- What’s the best way to redirect to a new wordpress website?
- 301 Redirect only for posts
- How to move a https website back to dev and access the admin?
- Why is WordPress redirecting to homepage after GET form submit?
- Redirect after user changes password
- Getting error when trying to redirect WP site to mobile site
- Custom Form Redirects to Post after Submit
- URL is redirecting (301) when query string is passed through URL
- Plugin html-on-pages: URL not redirecting
- Hide page for user logged and redirect for profile? [duplicate]
- Redirect URL while building site
- Redirect ignore last URL segment
- Creating custom link that redirects to a another link
- Other pages fine but wp-admin showing ERR_TOO_MANY_REDIRECTS Error
- How to disable login and registration pages?
- How to redirect non-logged in users to wordpress login page and bypass some page IDs?
- Is RewriteMod for WordPress site: site.ro -> site.com/?lang=ro possible?