I had wordpress installed at mydomain.com/content and running the entire site, so the site url in settings was mydomain.com.
I've now renamed the wordpress directory to mydomain.com/wp and made the site URL also mydomain.com/wp. I also updated the mydomain.com/wp/index.php and the mydomain.com/index.php to point to:
/** Loads the WordPress Environment and Template */
Now for some reason when I try to delete or replace mydomain.com/index.php my site stops working and I cannot access any of the wordpress pages. I'm not sure why this is happening as the site should be running off the index.php in the wordpress directory (mydomain.com/wp) and not the index.php in the root directory that I am editing.
Does anyone know what might be happening here?
Thanks very much for any help.