WordPress (GoDaddy: Linux w/cPanel (Apache))_ My 2nd site is FUBAR__ subdomain multisite network installation

Issue half resolved…

Full resolution by me alone is probably not possible but I think I know what needs to be done.

Partially resolved part After adding a new site in WordPress Admin and adding that site url to the cPanel “subdomains”; I:

  • Could ping subsite.domainName.xyz
  • Could not access the WP dashboard of subSite. Received 404 error.
  • Could not view the site (neither by clicking “Visit Site” nor typing url into a browser). Received a 403 Forbidden error.

After a lot of troubleshooting, a stumbled upon an article discussing how to disable indexing in cPanel. Luckily, for unknown reasons, I read the short article in its entirety and knew this was a golden ticket!

  • Spot checked many directories and sub-dirs to confirm yup! every directory made by initial default setup (GoDaddy/cPanel) had an index.php file in it.
  • None of the directories created (indirectly) by me had an index.php file (created via cPanel subdomain tool and WP Admin console).
  • I grabbed the index.php from my wp root :public_html (dir) and slapped that bad boy into my subsite.domainName.xyz sites folder and viola! I now receive a 500 err message

Hot dog we cookin now!

  • still can’t view/”visit” the site [500 error message]
  • still can’t access the WP Dashboard (admin console thingy). [was 404 error, now 500 error]

I looked at 4-5 other index.php files. A lot read “silence is golden” but others. Well, the other ones are incredibly extensive/long and intimidating.

Here is roughly what needs to happen.

  • Every directory (for subdomain site “subsite”) needs to get a index.php file added (or simply turn off indexing for that entire subdirectory/subsite folder).
  • Some of those index.php files need to be extensive.
  • The dashboard, wordpress, and all content in the core/root WP install need to be point to or referenced by the index.php file so those files can be loaded there by displaying the Dashboard/webpages.

Completely or nearly copying all the root WP install files over to “subsite” directory would be the same as “install package on your new site” NO! Not doin it!

I simply need to figure out: how/what do I write/configure the index.php file to simply point upward so that everything that happens at domainName.xyz is replicated in subsite.domainName.xyz.

I am so close, if you have any information, please lay it on me!

Leave a Comment