There a occasions when working with WordPress that you could be must find the trail to your root folder. If it’s not instantly apparent to you, right here’s a manner that you would be able to find it rapidly.
Step 1: Create a brand new file referred to as absolutepath.php and add the next to it:
<?php
$p = getcwd();
echo $p;
?>
Step 2: Add the file to the folder the place you may have WordPress, sometimes public_html or httpdocs or one thing related.
Now, go to http://yoursite.com/absolutepath.php to seek out the knowledge you’re in search of.
Right here’s an instance of the output from one among my check websites:
C:UsersPollyplummerDesktopDevSiteswww.playground.dev
Now you may have absolutely the path to your root listing. Make certain to delete the file when you’re executed utilizing it.
Subscribe to MarketingSolution.
Receive web development discounts & web design tutorials.
Now! Lets GROW Together!