We cannot find the website files on our server.
We are using
<?php echo $_SERVER['DOCUMENT_ROOT']; ?> in one of our HTML files to display the server path to our Wordpress installation, which looks like this:
But we cannot find this directory AT ALL! I have checked all other file folders as well, along with making sure that any hidden files are showing.
I’m 100% sure that this is correct server - no website files are there. I’m so confused.
I’m also a Ubuntu newbie, so if you respond, please do so in 3rd grade language :)
Can someone please help me get to the root of this issue? It has been several hours.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.