Closed matepaiva closed 2 years ago
This is because you need wp server --docroot=public
- remember, your WP core files are not in project root.
I have the same problem and I'm not sure how @lkraav's answer will help (because I'm new to wordpress). I have tried wp server --docroot=public
, which complains about a missing dir public
and if I create it, the server responds with a 404 on /
.
Edit: It seems that wp server --docroot=public
is related to wpstarter version 3. That one seems to work, even tho there are other problems.
Closing this for lack of activiyt and it seems there's nothing to fic.
@pj035 v3 is what we support right now.
Describe the bug I tried at least 3 times to create a hello world project using the quick start and the complete install and I always end up in a "too many redirects" when I go to
/
end get redirected to/wp/wp-admin/install.php
.To Reproduce Steps to reproduce the behavior:
mkdir new-project && cd new-project
composer.json
with below:.env
with below:wp server
http://localhost:8080
ERR_TOO_MANY_REDIRECTS
.Expected behavior To get in wp admin install
System (please complete the following information):
Additional context Tried else with wpstarter^3.