You might have already done this, but while logged into the admin of your site, go to Settings > General and then review the urls in WordPress Address (URL) and Site Address (URL). If they do not read with the new domain name, then they need to be updated.
Once you have the correct urls in place, visit Settings > Permalinks and refresh them. Usually do that by making a change, saving, then changing it back. and saving again. You can also do this via command line with WP CLI if available. Usually if a site is going to a 404, this is the go-to solution.
Related Posts:
- 403 Forbidden Localhost Wamp Apache Php
- Chrome net::ERR_INCOMPLETE_CHUNKED_ENCODING error
- How to create custom 401, 403 and 500 error pages?
- What is This esc_html_e() i wordpress php?
- WordPress GET parameters causing 404 Not Found
- cURL 28 error after switch from to brew php 7.2 on localhost
- Why would a GET variable one one page of a site cause a 404 error when a GET variable works on another page of a site?
- How to run multiple Async HTTP requests in WordPress?
- WP CLI info showing correct PHP binary but wrong version of PHP
- Does the debug.log do log rotation?
- Question about repurposing WordPress 404 handler
- Result of Custom WP_Query appears on 404 Page (but result are found!)
- Would manually deleting the dumping data fix a “#1062 – Duplicate entry ‘1’ for key ‘PRIMARY'” phpMyAdmin error?
- POSTS list in WordPress by views
- there’s a way to include a minimal WP for check only the current user, its roles (caps?) and then release/free it?
- apache cpu over 70% on localhost
- Is it possible to move wordpress out of webroot?
- login wp impossible
- wp-admin/index.php gives a “500 Internal Server Error [closed]
- #1062 – Duplicate entry ‘1’ for key ‘PRIMARY’
- Memory errors with media upload, WordPress can’t use more than 96M (while there’s 512 available!)
- Evaluations of two wordpress security plans against php code injection attack
- WordPress (3.9.1) MultiSite Permissions. Is chown the answer?
- phpMyAdmin displays error when importing database
- Is XAMPP faster than running LAMP in WSL on Windows 10? [closed]
- WordPress does not load page.php, return 404.php
- Apache /Ubuntu server not running WordPress installation, outputting PHP code like HTML
- Apache Fallback instead of add_rewrite_rule
- WordPress: get recent posts, delete the current category
- How to display data from custom table in wordpress phpmyadmin
- PHP Warning: chmod(): Operation not permitted in class-wp-filesystem-direct.php on line 173
- Cannot access wp-admin/wp-login.php (WordPress backend) anymore, what could be wrong?
- WordPress admin dashboard missing icons
- WordPress returning 404 for multisite pages
- Repeating admin-ajax.php not found error in admin
- Is it possible to create a wordpress database with php code?
- how to combine wordpress htaccess on my root domain + php on subfolder
- How to disable server signature on wordpress? [closed]
- Posting and image insertion problems after EasyApache4 and PHP 7 upgrade
- Trouble Installing WordPress Get PHP Not Running Answer
- Call to undefined function mysql_connect() After upgrading PHP 7.1 to 7.3
- Update a buggy installation
- How does WP work in conjunction with a web server?
- Is the 404 page automatically displayed if a loop returns nothing?
- how to get serialized post meta
- Live to Local on MAMP, not working, outputting functions.php code
- Permalinks are not working in WordPress in digitalocean
- WordPress redirects to old login after migration
- Apache HTTP Server stops working for only a certain local website
- Accidentally deleted php code in WordPress website [closed]
- phpMyAdmin error #1062 – Duplicate entry ‘1’ for key ‘PRIMARY’
- Plugin can’t write to database even though permissions appear correct?
- How to track who has deleted files
- Problem with data collection in tables
- How to hide the file name of 404.php in URL?
- Error establishing a database connection (Set-up locally)
- Using the get_template_part method within an mu-plugin not possible?
- Has a PHP update given me a 404?
- Updating user meta adds string count to value?
- Remove all feeds and return custom 404 page
- Unable to insert two value in two different columns (WordPress database)
- why not selecting multiple rows of same standard_id using SQL query from database?
- How to edit content in WordPress and the Polylang – plugin? – with demosite
- Upgrade to PHP7.3 and Changing Apache from Prefork to Event Breaks WordPress
- Can I disable auto increment of WordPress Posts Database to utilize previously deleted records?
- WordPress PHP version
- Another site within WordPress page, disabling 404 error for pages that exist but outside of WP system
- Windows Setup: Error establishing a database connection
- How to add a full working piece of website already coded, to a large scale Website design project?
- Huge time to first byte on live site
- WAMP SERVER Command Prompt SET PATH=%PATH%
- wordpress form action page not found
- Override 404 when navigating to single php file
- Changing WordPress author name in database
- Strange special character/Latin characters
- Rewrite /keyword1+keyword2.html to search page | .htaccess
- How to solve 404 permalink errors on nginx server
- Some links broken after updating WordPress version
- Post added by PHP redirects to 404 [closed]
- Saving Post redirects to 404 page when php $_GET variable in post body
- Published custom posts missing
- How to merge 2 WordPress sites?
- Not logged in when using http
- Admin-area broken through weird issues
- Blog only showing code
- custom contact form no longer working (because of 3.2?)
- WordPress Memory limit not increasing
- Having an HTTP error 500 after migrating a website
- Custom 404 error does not always appear
- session_start(): Cannot find save handler ‘mm’ – session startup failed in /sites
- how to put shortcode to the top of the page – theme 2014
- How to avoid timeout waiting for output from CGI script?
- How can I prevent wordpress from sending emails
- 404 page is not the same when using PHP code in functions
- wordpress – page not loading (404) even if it’s there
- How to run site locally after downloading database
- How to use phpspreadsheet reader with $wpdb
- Importing data from excel sheet on webpage rather than from within phpMyAdmin
- Restricting access to a file for everyone except logged in users
- NGINX rewrite rules for WordPress Subdirectory Multisite to support deep URL