1. Home
  2. FAQ
  3. General Questions
  4. What is the website root folder?

What is the website root folder?

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.
Updated on June 1, 2023

Was this article helpful?

Related Articles