• Resolved AFC Leyton Club Sec

    (@afcleytonsec)


    Long story short.

    I had my host change our primary domain and its caused no end of issues since.

    We have since changed back to the original primary domain, because of all the issues it caused us. I lost site access for almost two weeks while they restored the site again. The site is back up and running now. However numerous things are wrong, pages are missing on the site but are showing in pages in dashboard.

    From within dashboard loads of things I am clicking on takes ages to load and then loads through to a 404 error page.

    If I click on ‘plugin updates’ at the top of my dashboard under ‘home’ It loads a 404 error page. But if I click on installed plugins in the plugins header my installed plugins all show as normal.

    If I click on ‘new plugin’ It loads to the 404 error page.

    I have the site health app installed which is showing a notification but if I click it I also get a 404 error.

    I have basic knowledge on all this, but if anyone could spare me some patients I can follow guidance and work with you, I would really appreciate it.

    This is really frustrating constantly hitting 404 error pages. I just want to get things back working properly and I am not asking my host anymore they seem to break more then they fix!

    Any advise appreciated. I dont even know where to start anymore. someone advised on another forum to delete the .htaccess file, log back in and it restores its and hopefully resolves the issue. I did this but no change.

    Please help

    Tom

    The page I need help with: [log in to see the link]

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter AFC Leyton Club Sec

    (@afcleytonsec)

    I may have noticed the conflict.

    In my ftp file I have two wp-admin/ files

    One in public_hmtl/ directly

    and another in a sub folder public_hmtl/afcleyton.co.uk/

    Could this be the reason I am experiencing issues. It would seem my hosts created a secondary file possibly when attempting to move the primary domain and when switching back left in which has caused all my issues.

    im slowly getting a better understanding of things, but I do not want to delete the wrong thing. Can you please advised if 1) I should delete one of the two files and if show 2) which one.

    Thank you so much for all your help.

    Hi @afcleytonsec,

    One in public_hmtl/ directly

    and another in a sub folder public_hmtl/afcleyton.co.uk/

    Sounds like there are two separate WordPress installations? one inside public_html and another inside public_hmtl/afcleyton.co.uk/?

    In general, both installations should be separate and shouldn’t cause a conflict with each other. However, if you want to remove it, you’ll have to confirm 1st which is the correct directory where your site is installed.

    You can find the correct directory path by going to Tools > Site Health > Info > Directory and Sizes and checking the path mentioned under “WordPress directory location”.

    Please do make sure you create a backup before making any changes.

    Regards,

    Nithin

    Thread Starter AFC Leyton Club Sec

    (@afcleytonsec)

    Hi @wpmudevsupport11 my issue is preventing me from opening the page site health as suggested. The page https://afcleyton.co.uk/wp-admin/site-health.php is another one it seems loading to a 404 error so I am unable to verify. Any further advice or assistance you can offer please.

    I am only running one single site not two, The fact there is two installations I can only put down to my hosts adding when switching the primary domain as I have never touched it.

    If I only have one site should I not only have one single wordpress installation? If so id rather do some backend house keeping and remove whats not required. I just dont want to make a mistake of deleting something thats needed.

    Would having the two files conflict one another given I only have a single site?

    To add what could be further confusion inside my hosting I have two installs of installatron inside my cPanel one against .com and one against .co.uk.

    The .com has a yellow error warning (Files 61mb database 240mb WordPress 6.8.3 PHP 8.4.13(

    The .co.uk has a red error warning Files 20047mb database 329mb WordPress 6.8.3 PHP 8.4.13) below it reports the following, hoping this may shed some light on where I can check/ fix >

    array ( 0 => array ( 0 => 0, 1 => ‘failed_filesystem_directory|_error_domainfailed Technical Error: [1] Written file /home/hulhukqioaie/public_html/afcleyton.co.uk/wp-login.php\' not accessible athttp://afcleyton.co.uk/deleteme.cha108c739bff1d47b6bb5999b0f4ebe1b5.php\’. 2025-10-24 04:59:38.41162500 FAILURE [3; /usr/bin/curl] http://afcleyton.co.uk/wp-login.php [http code=503] @92.205.15.23(92.205.15.23)|code=503′, 2 => NULL, ), 1 => array ( 0 => 0, 1 => ‘failed_filesystem_directory|_error_domainfailed Technical Error: [1] Written file /home/hulhukqioaie/public_html/afcleyton.co.uk/wp-login.php\' not accessible athttp://afcleyton.co.uk/deleteme.cha1842ddea770e4ee49697278c5cc513ef.php\’. 2025-10-24 04:59:54.73037700 FAILURE [3; /usr/bin/curl] http://afcleyton.co.uk/wp-login.php [http code=503] @92.205.15.23(92.205.15.23)|code=503′, 2 => NULL, ), 2 => array ( 0 => 0, 1 => ‘failed_filesystem_directory|_error_domainfailed Technical Error: [1] Written file /home/hulhukqioaie/public_html/afcleyton.co.uk/wp-login.php\' not accessible athttp://afcleyton.co.uk/deleteme.cha13f9c5048fa14514b2e8a84de82fbc06.php\’. 2025-10-24 05:00:13.26646100 FAILURE [3; /usr/bin/curl] http://afcleyton.co.uk/wp-login.php [http code=503] @92.205.15.23(92.205.15.23)|code=503′, 2 => NULL, ), )

    Hello @afcleytonsec

    You can confirm the site installation by checking the wp-config.php for each directory, you need to find the database name, then check it in PhpMyAdmin in your cPanel.

    Once you confirm which one is live (the .co.uk), the other installation can be disabled or backed up and removed to prevent conflicts.

    After that, you need to fix the site URLs:
    Log in to your WordPress Dashboard (if you can get in).
    If it’s still unreliable, go through wp-admin via recovery mode (or use a direct /wp-login.php link).

    Go to: Settings → General and make sure WordPress Address is (URL): https://afcleyton.co.uk

    And the site address is https://afcleyton.co.uk then go to settings → permalinks, don’t change anything — just click Save Changes, this regenerates your .htaccess file correctly for your setup.

    Best Regards
    Amin

    Thread Starter AFC Leyton Club Sec

    (@afcleytonsec)

    Huge thank you to everyone who offered advice and help on this one. I followed all the guidance and all seems to be back to normal again.

    I had some issues removing the wp-contents folder in filezilla but a quick support ticket to my hosts got this removed they set permissions to 755 allowed the folder and its contents to be removed.

    With the former install folder all removed all seems to be back working with no 404 errors flagging anymore.

    Thanks again all!

Viewing 5 replies - 16 through 20 (of 20 total)

The topic ‘404 error showing’ is closed to new replies.