• BERJAYAChuckie

    (@ajtruckle)


    Hi, my website keeps logging 404s to this url:

    /wordpress/wp-admin/setup-config.php

    Can anyone shed any light on my I get repeated 404s to such a link? Is it hack attempts? I am using Redirection plugin by John Godley. What is the best approach to tackling this particular 404 entry?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • BERJAYAKartik Shukla

    (@kartiks16)

    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 BERJAYAChuckie

    (@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.

    Moderator BERJAYAthreadi

    (@threadi)

    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/

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Redirection 404s’ is closed to new replies.