All the links in a wordpress database are relational, and based on the URL structure that was used when the database was created. What you need to do is follow the steps to change the URL of the WordPress instance and that should resolve your problem.
This is common when changing from a dev platform to a live site. FWIW I think that manually changing it in the database it the easiest way to accomplish what you’re looking to do.
Related Posts:
- What is ICANN domain status: ‘clientTransferProhibited’?
- what is the multicast doing on 224.0.0.251?
- Server can’t find NXDOMAIN
- Understanding how links will work when DNS changed to point to new WordPress site
- Correct Way to Move WordPress to Subdomain and Shop to Stay at root Domain
- Google reCAPTCHA V3.0 not working. “ERROR for site owner: Invalid key type”
- ping: google.com: Temporary failure in name resolution [closed]
- My users get “net::err_name_not_resolved”
- What’s the source of Error: getaddrinfo EAI_AGAIN?
- ssh: Could not resolve hostname [hostname]: nodename nor servname provided, or not known
- jQuery .load() not working
- Docker-compose container using host DNS server
- How to find Port number of IP address?
- How to find out who is hosting my WordPress site?
- Translation problem with timber and WPML (WordPress, different language per domain)
- Setting up a wordpress network with third level domains
- WP Multisite development with Mamp Pro and wildcard subdomains, not really working for me
- How do you seamlessly switch hosting?
- Timeout While Upgrading Network in Multi-site
- WordPress multisite with different domain
- Website redirecting to old domain name
- Alias domain to Multi-site installation in Apache
- Can’t access WordPress multisite after connecting to domain
- Pointing SSL Enabled URL at Single WordPress Page
- Use single-site install and map entities to subdomains
- How to test drive WordPress on VPS with LEMP stack before going live?
- CNAME site attempts to load files over HTTP instead of HTTPS
- Domain name in a WordPress Network
- Multisite domain naming
- Site resolves to www in Firefox and without in Chrome
- Sorry, you are not allowed to access this page dashboard
- WordPress site isn’t reachable after site & home URL modification
- External Domain on WordPress Multisite
- The easiest way to migrate a wordpress website across servers
- WordPress Multisite + Erros with URLS and ADMIN
- WordPress site front page fails to load in IE
- Does WordPress Strip Away the WWW from a Web Address
- Moving a wordpress.org website to another domain name?
- Redirecting DNS without breaking everything
- Developing on localhost remove “index.php”
- DNS – Change WordPress Site Name?
- Installing other applications alongside WordPress multisite and configuring dns routing
- VServer/Rootserver/Shared Hosting: Multiple WordPress installations each having their unique domain?
- When i try to enter subdomain i’m redirected to main domain
- Change my URL from https://www.domain.com to https://domain.com
- WordPress WooCommerce email notifications going to spam folder
- On a multisite environment, get the subdomain value as variable
- Subdirectory mapping for a WordPress website
- My blog load time on Bluehost and Word press is too much. I have slipped in Google Search Ranking
- WordPress Redirects to a cancelled domain, need to change it but can’t get to the admin portal
- Domain not redirected correctly with WordPress Multisite
- Image links broken / “DNS Update Required” message
- Fresh install redirects to www, breaking page loads
- How to properly setup MAMP and XIP
- All devices on my network redirect me to an old domain
- White Homepage after Domain Name Change
- Problem With DNS or WordPress installation>
- WordPress MU with subdomain
- Redirect loop when forwarding to mobile site
- Why is the server response time slowing my site down? [closed]
- Is it ok to have one wordpress installation for server.com and www.server.com?
- how to get my WP site’s IP? [closed]
- Change URL when visiting wordpress site
- wp-admin keeps forwarding me to an old url