Hi,
please check the permissions of the folder /dev should be 755 and belong to your site owner www-data or similar
Are all wp files are located in the /dev folder including index.php?
Also check if access to /dev is not forbidden by your nginx.conf
Thread Starter
Weaper
(@weaper)
the permissions are indeed at 755 but the /dev folder seems to be missing quite a few WP files.
the only PHP files available in it are wp-settings, wp-login, wp-config, wp-config-sample, wp-comments-post.
Should I rerun the plugin?
Thread Starter
Weaper
(@weaper)
I’ve rerun the plugin and all files are here
the /dev folder has 755 permissions and it’s not forbidden by nginx.conf
I no longer get a nginx 403 error but a simple 404 now.
I can reach a login page by going to https://boichi.com/dev/wp-login.php but it simply redirect to the main site.
I went through all I could and don’t know why it’s not working as intended.
Is your main wordpress site installed into a subfolder of your htdocs folder?
If yes you need to activate the subfolder option of wp staging.
Thread Starter
Weaper
(@weaper)
all the WP files of the main site as well as the htdocs are in the server’s root.
the staging is in its own /dev repo