skip to Main Content

i placed a wordpress site in a subfolder in public html and after a while i completely deleted the wordpress subfolder and i want to do something else with server storage but even though now there is no folders in public html in its completely empty when i go to the main domain or root directory it keeps redirecting me to old wordpress directory and there is no subfolder in public html so it gives 404 error and its weird because i have no files in public html.
i did put an index.php in public html and it did not work. site ignored that and got redirected to old wordpress subfolder.
please someone help…

when the wordpress site was up in the subfolder there was another wordpress site in root directory but i did not us it and i deleted that too i dont know if that has anything to do with it

p.s. i deleted everything that belonged to the old wordpress site including databases

2

Answers


  1. You may want to check you Domain and remove the url for the domain or subdomain. It can’t resolve to the file path associated with it and that is what is triggering the 404.

    Login or Signup to reply.
  2. It could be that your domain is set to direct to the subfolder.
    Did you install wordpress via an software manager at your webhost?
    They sometimes set the domain to that application folder automatically.
    You should check your domain settings at your host, maybe there is the reason.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search