Wordpress - FTP - PHP Question...
Currently, I have 13 domains installed as add-on domains (or sub-domains) on my servers, housed under my main domain. Anyway, all my sub-domain sites are operating fine, as are my wp logins, files, content, etc... *However, all of them were installed with Fantastico 1-Click installer from my CPanel... so a couple of things I could use some help with.
So tonight I decided to do some cleaning via FTP, and deleted most of my stale websites, and a bunch of trash files from my servers in preparation to install WP on a new sub-domain manually using FTP. (*for the first time).
When I saw all the files stored 'outside' my named sites, I just assumed they were storing junk files on my servers, and I started deleting a bunch of 'unwanted' files.
However, I managed to lose my wp-admin access to my main domain, along with my main website files. Currently, I am only seeing the following:
Index of /
Followed by a 'bullet list' of links to my sub-domains, and then...
Apache Server at mymaindomain.com Port 80
My public_html file appears to still be in tact, so I am assuming I just accidentally wiped out WP from my main index, and possibly some other wp related content & plugin files, whereby I can no longer see my main site...OOPS!!!
(*At least, that's what I am hoping to confirm)
I'm pretty sure I understand the process for adding a sub-domain WP install manually using FTP, but a bit vague on the best approach to rewriting or replacing all the the 1-Click installed WP files to secure my sites a bit more?
Can I simply use my main database sql login info and the same wp-config.php file info, user & password, and re-place the old WP installations (via FTP) to all my sites/sub-domains at once?
or
Do I need to remove the old WP files all togther and create a new database for each sub-domain, and manually do each site one-by-one?
Obviously, the 1st priority is confirming 'IF" the deletion of WP on my main site would cause the following:
Index of /
Followed by a 'bullet list' of links to my sub-domains, and then...
Apache Server at mymaindomain.com Port 80
Being I am over-tired...
I might sleep better tonight, knowing it's a simple fix. For now, I don't want to risk screwing anything up, so any help is greatly appreaciated.
Definitely, need to make learning PHP, as soon as possible!
Thanks in advance.
Art
Added:
[12-Apr-2015 22:02:54 America/Chicago] PHP Fatal error: require_once(): Failed opening required '/home2/my_username/public_html/wp-load.php' (include_path='.:/opt/php54/lib/php') in /home2/my_username/public_html/wp-admin/admin.php on line 31
[12-Apr-2015 22:06:44 America/Chicago]
PHP Warning: require_once(/home2/my_username/public_html/wp-load.php): failed to open stream: No such file or directory in /home2/my_username/public_html/wp-admin/admin.php on line 31
[12-Apr-2015 22:06:44 America/Chicago] PHP Fatal error: require_once(): Failed opening required '/home2/my_username/public_html/wp-load.php' (include_path='.:/opt/php54/lib/php') in /home2/my_username/public_html/wp-admin/admin.php on line 31
[12-Apr-2015 22:33:04 America/Chicago]
PHP Warning: require_once(/home2/my_username/public_html/wp-load.php): failed to open stream: No such file or directory in /home2/my_username/public_html/wp-admin/admin.php on line 31
[12-Apr-2015 22:33:04 America/Chicago] PHP Fatal error: require_once(): Failed opening required '/home2/my_username/public_html/wp-load.php' (include_path='.:/opt/php54/lib/php') in /home2/my_username/public_html/wp-admin/admin.php on line 31
-
emptee -
Thanks
Signature★★★ Supercharge GSA Search Engine Ranker With PA and DA. Rank Like it's 2012 Again ★★★Is CloudFlare COSTING You Business?{{ DiscussionBoard.errors[9999033].message }} -
-
art72 -
Thanks
SignatureAtop a tree with Buddha ain't a bad place to take rest!{{ DiscussionBoard.errors[9999061].message }} -