Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 errors on the frontend when using wp-env #2044

Closed
martynmjones opened this issue Aug 4, 2023 · 1 comment
Closed

404 errors on the frontend when using wp-env #2044

martynmjones opened this issue Aug 4, 2023 · 1 comment
Assignees

Comments

@martynmjones
Copy link
Contributor

Describe the bug:

When running a test environment with npm run wp-env start the permalink structure is updated but pages aren't accessible without logging into wp-admin and re-saving permalinks.

Screenshot 2023-08-04 at 19 36 20

Steps to reproduce:

  1. With docker running
  2. npm i && npm run wp-env start
  3. Visit http://localhost:8889/shop which will be a 404
  4. Go to http://localhost:8889/wp-admin/options-permalink.php and Save changes without making any changes
  5. Visit http://localhost:8889/shop which will now load
@martynmjones
Copy link
Contributor Author

Closing in favour of #2041

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant