new wordpress site on dev machine, only shows file list

I am trying to use wordpress for the first time. I am an experienced php developer working with laravel, but I am stuck with this.


1. Windows 10 developer machine with Apache 2.4 installed.
2. downloaded and unzip wordpress 6.3.3 to folder c:\\code\\wordpress633
3. wordpress config is set property, connects to database
4. [http://localhost:84/wp-admin/index.php](http://localhost:84/wp-admin/index.php), admin works
5. [http://localhost:84/](http://localhost:84/), does not work, shows “Index of /”, file list.
6. [http://localhost:84/](http://localhost:84/)index.php, does not work, redirects with 301 back to [http://localhost:84/](http://localhost:84/)


I can’t see the wordpress site, only the admin. If I try to access to wordpress site, it just redirects back to the root showing the file list. Is Apache doing the redirect, is it wordpress that is doing the redirect? How do I fix this?


**apache config:**

Listen 84
<VirtualHost *:84>
ServerAdmin [email protected]
DocumentRoot “C:/CODE/wordpress633/wordpress”
ServerName localhost
<Directory “C:/CODE/wordpress633/wordpress”>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
ErrorLog “logs/wordpress633-error.log”
CustomLog “logs/wordpress633-access.log” common


# BEGIN WordPress
# The directives (lines) between `BEGIN WordPress` and `END WordPress` are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase /
RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L] </IfModule>

# END WordPress


If I remove .htaccess, click on [http://localhost:84/index.php](http://localhost:84/index.php), it still redirects [http://localhost:84/](http://localhost:84/) and shows the “Index of /” file list. It has something to do with wordpress setup.




This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer