valet: WordPress admin URLs return 404

After upgrading to Valet 2.0, WordPress admin URLs no longer work.

The front-end works as expected, as does http://wordpress.dev/wp-admin/

But attempting to access specific admin areas such as http://wordpress.dev/wp-admin/edit.php returns File not found.

Nginx log entry:

[error] 204#0: *122 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: , request: "GET /wp-admin/edit.php HTTP/1.1", upstream: "fastcgi://unix:/Users/ashley/.valet/valet.sock:", host: "wordpress.dev", referrer: "http://wordpress.dev/wp-admin/"

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 1
  • Comments: 15 (7 by maintainers)

Most upvoted comments

This has been fixed, just not tagged: https://github.com/laravel/valet/commit/6376bfca82ed34acf33b188a13723a04b14150c7

Use dev-master for now if this change is important for you 👍 Versioning barely matters with Valet anyways since it’s not like it can ever be a dependency of some other project, so I’d honestly recommend most people just run the master branch.