Hello, I have a problem with subdomain directory bedrock. All assets have 404 not found.
My folder structure looks like this:
/websites
|
|- /example1.com
|- /example2.com
|- /mysite.com
|- /web
|- /vendor
|- /config
|- .env
|- .htaccess
.htaccess file at the root of /mysite.com folder looks like this:
# 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]
And yet when I check the site all I can see is https://i.imgur.com/jvCzZyM.jpg
/wp/wp-admin/ works just fine, every asset loaded properly.
Problem only appears on site.
I typed in browser url: mysite.com/web/app/themes/mytheme/dist/scripts/main.js and that worked fine.
Is there problem with .htacces?