Solution 1:
It looks like you’ve moved your website to a new server. In this case, you’ll need to update your permalink structure so that WordPress regenerates the .htaccess file.
- Log in to your WordPress admin panel.
- Go to Settings → Permalinks.
- Review your permalink structure (adjust if necessary).
- Click Save Changes to update .htaccess.
- Test your site — it should now work correctly.