So I am horrendously stuck on this. On my WAMP server I have a directory in www called b4pv2. It looks like this
wamp64
www
b4pv2
config
startup.php
htdocs
index.php
widgets
/*various *.php files with HTML content mainly */
However when I visit localhost/b4pv2 it redirects automatically to htdocs/index.php. I have no .htaccess files and no rewrite rules...etc. anywhere as a consequence and can't figure out why this is happening.
If I create an index.php file and put it in that directory it in the b4pv2 directory it still redirects and if I create a sub directory in htdocs with an index.php file it still reverts back to htdocs.
Bizarely I can access my css files...etc. without any issues though in the browser.