Hello,
I hope this message finds you well!
If you can help understand when it redirects to 404, is it when you click on any links on the website?
Kindly review the permalinks setting once from your WordPress Admin dashboard. Select a different permalink structure (e.g., “Post name”) and click “Save Changes.” Then, switch back to your original structure and save again. This forces WordPress to refresh its rewrite rules.
See if this helps or else a bit more insights on how and when you get 404 will help in giving you appropriate solution to the problem.
Thank you!
Thread Starter
Chuckie
(@ajtruckle)
Hi ! I believe the issue here (from research) is that with a new install of WordPress you have the setup-config.php. But after the install is complete that file gets removed.
No, the file will not be removed. It still exists. However, the /wordpress/ directory no longer exists at the URL you mentioned. If you omit this, you can still call up the URL and see a message from WordPress that wp-config.php already exists. Therefore, the setup cannot be called up a second time.
You should also not delete or move the file as it is part of the WordPress core. It poses no danger to your project. I would rather recommend securing your project for other attack vectors. See also: https://wordpress.org/documentation/article/hardening-wordpress/