aitor
1
Trying to follow this guide: https://roots.io/guides/dockerize-local-bedrock-and-sage-development-with-lando/
I get 404 page not found
at bedrock.test
I think I did all the steps:
- Create bedrock proyect
- Create
.lando.yml
with the example provided.
- Set
.env
with the example provided
- set
/etc/hosts
with 127.0.0.1 bedrock.test
- run
lando start
with no errors
Then, I get 404 at any URL provided by lando. What could be happening?
aitor
2
Just the webroot config. sorry
1 Like
Hi aitor,
I am facing exactly the same issue testing Lando on my local machine.
How did you fix 404 page not found?
my .lando.yml is the following.
Thanks in advance
name: bedrock
recipe: wordpress
proxy:
theme:
- localhost:3000
config:
php: ‘7.3’
via: nginx
webroot: web
database: mariadb
xdebug: true
services:
theme:
type: node
overrides:
ports:
- 3000:3000
tooling:
yarn:
service: theme
Had the same issue following the guide. I fixed it by changing the WP_SITEURL value in the ENV file.
WP_SITEURL=${WP_HOME}/wp
To:
WP_SITEURL=https://projectname.lndo.site/wp
system
Closed
5
This topic was automatically closed after 42 days. New replies are no longer allowed.