You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After logging into the dashboard, set the Permalink Settings to Post name.
Restart the container and access the article again. Now I get 404 error.
Logs:
[Sun Apr 19 00:44:24.669972 2020] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.38 (Debian) PHP/7.3.16 configured -- resuming normal operations
[Sun Apr 19 00:29:55.638019 2020] [php7:error] [pid 193] [client 2600:1900:2000:a5::2:0] script '/var/www/html/index.php' not found or unable to stat`
Workaround:
Change the Permalink Settings to Plain and then switch back to Post name. The article now can be accessed via the pretty link.
The text was updated successfully, but these errors were encountered:
liemdo
changed the title
Get script '/var/www/html/index.php' not found error when installing Wordpress using a subfolder
Get script '/var/www/html/index.php' not found error when server is restarted
Apr 19, 2020
I can reproduce this issue locally.
Steps to reproduce:
or docker-compose:
Post name
.Logs:
[Sun Apr 19 00:44:24.669972 2020] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.38 (Debian) PHP/7.3.16 configured -- resuming normal operations
[Sun Apr 19 00:29:55.638019 2020] [php7:error] [pid 193] [client 2600:1900:2000:a5::2:0] script '/var/www/html/index.php' not found or unable to stat`
Workaround:
Plain
and then switch back toPost name
. The article now can be accessed via the pretty link.The text was updated successfully, but these errors were encountered: