Going to index.php without "index.php" with relative path

The / is what you should use as path to the root and let the default page open, often named index.html or index.php or other names in a priority order.

In your local setup, the root seems to be localDirectory but for the live site the host directory, where you place the whole site, is the root.

The site’s root directory in you dev machine is set in your virtual host configuration file and in the machines (OS) hosts file.

Maybe this thread here is of interest:

1 Like