The website root folder is the base folder for a website where all of your site’s source code resides. It is where you’ll find the index file (index.php, index.html, etc). This folder is often named public_html, htdocs, www or wwwroot, depending on your web host and settings.
- Some e-commerce platforms allow you to change the web root folder to a subfolder with names like pub, public.
- If you install your website in a sub folder (e.g. your new online store), the sub folder would be the website root folder.