I often use a Bedrock configuration for my WordPress projects, which works fine for the most part but there are always issues with the One-Click Admin login feature as well as the WordPress Version indicator displayed on the “Overview” tab.
As you can see in the screenshot above, the One-click Admin feature reads “Disable” and the WordPress Version indicator just displays a loading animation that loops indefinitely.
- Setup a new Local WP project.
- Install Bedrock in your root project folder using their standard install process (Bedrock | Modern WordPress Boilerplate | Roots).
- Move the contents of the bedrock folder to the Local
/appfolder (at this point, you can delete everything in the
/publicfolder if you want).
- Setting up your
.envfile and run
- Modify your
conf/ngnix/site.conf.hbsfile so that the server
roothas the absolute path to your
webfolder like this:
root "/Users/username/Local Sites/ProjectName/app/web/";
- Restart the site and observe the issue with One-click Admin and the WordPress Version indicator.
Local Version: 6.0.0+5444
OS: macOS Big Sur v11.4