cancel
Showing results for 
Search instead for 
Did you mean: 

Multisites and access to pub files

Multisites and access to pub files

Hi,

I've setup a multisite magento 2 following the official documentation.

Having like

root.devel as the main site and

mywebsite.devel as one of the website associated with a specific store view.

 

When I load the page, it has some issues reaching some theme files, for example:

/pub/static/version1596118625/frontend/Codazon/unlimited_supermarket/fr_FR/mage/polyfill.js

 

There's no problem accessing such files from the root.devel, but when I reach from mywebsite.devel it seems the version doesn't work.

 

If I access:

https://mywebsite.devel/pub/static/frontend/Codazon/unlimited_supermarket/fr_FR/mage/polyfill.js

 it's going to display the file correctly.

 

The static version doesn't work for multi sites?

 

Cheers