I should have added:
If you can get the WP installation back to where it was before you moved it and it was working properly, install the Duplicator plugin and use it to move WP to the other directory.
It can be a tad contusing the first time you use it,let me know if there is anything you don’t understand before you that step or enter a particular value.
I highly recommend you use Duplicator to make backups of all WP installations before you make any changes – including move it – so that you have a way to go back to a stable situation.
I’ve been in Data Processing since 1973 and us ol’ timers won’t change anything without a backup – we learned, early on, and probably the hard way, that a backup can save your butt when you make a change and screw things up.
Backups are not some waste of time – backups can make the difference between a broken program, or web site, and one that works.
Knowing that you can go right back to where you started from gives you a profount sense of security.
All ways back things up before making any changes.
Also, make changes and test them somewhere other than on a “production” site. You can setup a sever/PHP/MySQL package on your own computer – too complicated to go into here – or you can simply create another directory on your hosting server and move WP to that directory before making changes. You then test the changes there and when you’ve got it working, you make the changes to the production system.
If you put no links, anywhere, to the test directory, it will be private and no one else can get to it. That makes it safe to test things out before implementing them on the production site.
When I say “If you put no links, anywhere,” – I also mean that you don’t give out a link to that directory to ANYONE – even on a forum like this. Once you give out a link you can almost count on it becoming more widely known.
I’ve had WP installations in “unknown” directories for months at a time and no one has ever found them.
Be wary if you want to post an error message from the test site, change the URL to hide the actual location.
Bob