When working with this dev site, i did not want to give it its own domain name, it was to replace the existing server as soon as i had it running.
It came down to two things. I had tried an IP here, but had forgotten to include the http://.
define( 'WP_SITEURL', 'http://123.456.789.255' );
define( 'WP_HOME', 'http://123.456.789.255' );
instead of
define( 'WP_SITEURL', '123.456.789.255' );
define( 'WP_HOME', '123.456.789.255' );
And the other thing was counter intuitive. I learned that 301 redirects are cached in the browser. So many of my setting changes were not even tested because the browser had cached the 301 it got on my first attempt.
Related Posts:
- How to prevent redirect to ‘About’ after core upgrade?
- How to configure nginx to redirect requests to the uploads directory to the production server?
- Old blog/ and blog/feed/ URLs not working after moving blog to top-level via .htaccess
- Force HTTPS using .htaccess – stuck in redirect loop
- Why does WordPress automatically redirect URLs with the parameter “name=” to a different page?
- Stop unwanted WP redirection to new url
- Facebook like button that redirects?
- WordPress redirect loop on nginx + apache reverse proxy
- Redirect from https to http or from http to https? [closed]
- URL Redirect and Bulk Actions in wp_list_table
- Redirect too many times htacces switching to https
- Check if post is in draft or pending review?
- Disabling the X-Redirect-By response header
- How to hide that a certain non-WordPress directory exists on the server?
- Redirect “any page/page/number/” to “any page”
- Disabling HTTPS redirection for migration
- Redirect deleted posts to category archive
- WordPress multisite htaccess redirection to new domain
- Can WordPress pass through a call to an external API and return the result directly to the client?
- Redirecting old post url to 404 in wordpress using htaccess
- How to redirect subcategories to a page?
- Migrating from http to https
- How to redirect to home page after registration?
- CNAME vs A Record for WWW – with 301 Redirects
- Any action in wordpress redirects me to home page
- How to redirect URL with subfolder to the same URL but without subfolder?
- Stuck In a Redirect Loop
- Redirect to Current Page after Login
- Handle regular expression based redirects without .htaccess
- Login redirect problem
- Adding rewrite rule dynamically for search results redirecting to 404 URL
- how to setup .htaccess: redirect/ /%postname% to /%category%/%postname%
- Redirect some of the languages on a multi-language site
- How to redirect to specific url if contains specific text in url?
- Redirecting old permalink structure to new in htaccess
- WordPress redirect, output headers already sent
- Why is there a status message “302 Found” on top of the site?
- About to migrate site to new domain
- Redirect all users to dashboard unless custom post type
- Redirecting connection from IP to localhost
- WordPress directing to Posts page (edit.php) instead of saving post
- HTML Redirect to WP pages
- How to redirect 40,000 urls with the same url structure efficiently?
- Changing theme = change home page for mobile visitors?
- Redirect User on Login based on role WP 3 – Multi-Site
- production site routes to staging site after cloning
- Redirect old URL (with different post ID) to new URL
- How to redirect an old page url to the homepage
- Custom URL routes
- Delete Redirect Slug For Specific Post
- Duplicated WP site manually, now links redirect wrong [closed]
- redirecting an entire WP site from one top level domain to another
- Load function with login_redirect
- Missing domain http://./wp-… in redirects
- All URLs Redirect to Main Page
- 301 redirects in Headway based WordPress Site
- Why I am not able to direct user to my blog section without login?
- Force User Login
- Import RSS as posts with redirect?
- Parked domain redirecting to wrong error404 page
- Subdomain redirect problem
- redirect from old URL structure
- How to Redirect WordPress domain.com/?anyword to 404 Page?
- How can I prevent caching of wp_redirect?
- Is the default value of FORCE_SSL_ADMIN documented?
- Redirect Category Media ‘URL’ when clicked
- Error in /blog redirection – ubuntu default WP installation
- wordpress automatic URL ‘page’ parameter rewrite
- Changing post depending upon where you’re redirected from?
- 302 redirect *.at/site redirecting to .comsite
- Loading /wp-content/uploads/site as /site/
- How to redirect user to the specific URL and display notice
- when contact form7 submited domain redirects to example.com means (example domain)
- WordPress not loggin user and redirecting after custom registration
- How to manage around 90k 301 redirects after migration from old CMS
- Local domain remap with proxy : Infinite 301 redirect, bad URL typo
- How to 301 redirect to subdirectory but keep access to wp-admin of main domain
- Pagination redirect set in .htaccess file is not working
- Count users redirected from Facebook
- Redirecting a POST to a php script
- automaticly redirect link problem on update
- WordPress Login Page redirecting after failed login
- Redirect after empty register form
- after logout, get_current_user_id still holds value
- noheader on the user/frontend side
- Solution for WordPress URL structure changes and 301 redirects?
- WordPress redirect from one directory to another but exclude wp-admin and wp-login.php
- How can I redirect foreigners by IP to other URL in WordPress?
- How to change Ugly link?
- WordPress site redirecting to developers URL
- How to use the HTTP API (wp_remote_get) instead of cURL?
- Redirected You too Many Times and Homepage Not Loading
- How to redirect users without permission to view content to a custom page?
- redirect the root of a domain, while leaving the www version unredirected
- How to Create Custom Route to a page in WordPress
- How to create a redirect to another domain like safe redirect manager from php
- Post Migration Site Migration Redirects All Known Solutions Attempted
- Redirect all pages to a specific page of a new domain but exclude specific pages
- Make category page the wordpress homepage (not blog)
- Redirect of specific words in URL ahead of website migration