Access problem when returning WP to default directory
-
Hi there,
This is my first post and I have not the experience with WordPress to know how to categorize this problem as anything but access problems.The website in question was built by another programmer, and WP was hidden in a subfolder named “here”; an index.php file and “images” folder lived in the root directory of the server and functioned as a splash page.
I wanted to remove the splash page at the request of my client; I tried to reverse the steps of this article, using the section titled “Moving a Root install to its own directory”.
For reasons unknown to me, after I moved the .htaccess file back into the WP directory (attempting to mirror the default state of WP) the website went down, the index page generated 404’s even when I navigated to a URL that I knew to be correct as per the file structure in my FTP client.
Just remembered; the other item that I did was in the General tab within WordPress (before I lost access) I changed the WordPress URL and the Site Address from their original state of https://www.website.com/here/ to https://www.website.com/.
After making whatever mistakes you have noticed, I removed the entirety of the WP installation (after backing it up) and reinstalled a fresh copy of WP, adding my wp-content and wp-config.php to the new installation; this worked in that it gave me a functioning WP installation, but while all my content was still there, thousands of images which had been assigned and positioned to my pages had been removed from the page structures. It would be quite an undertaking to put all the pictures back where they belong.
As a newcomer to the back end of WordPress (yes, the type who says “what on earth have I done, and where do I start?” when something goes wrong) I would appreciate any help, even directions to other posts which resemble this issue.
Thank you for reading,
J
- The topic ‘Access problem when returning WP to default directory’ is closed to new replies.