One more step to note here that I took - updated permalinks to fix the 500 error on sub-pages.
Good! You’re welcome
We had the same problem on a shared hosting and found the following solution from a github issue
In the db table options add /web to the siteurl and home fields
then create an htaccess at the root with the following:
# Add directives
RewriteEngine on
# Change root directory to "web" folder
RewriteCond %{THE_REQUEST} ^GET\ /web/
RewriteRule ^web/(.*) /$1 [L,R=301]
RewriteRule !^web/ web%{REQUEST_URI} [L]
2 Likes
This worked for me, thanks.
You mean you upload main files to the public folder?