Images not loading in Multi site environment.
-
Hi champs,
I am wondering around the WP forums since long but couldn’t fix my problem with the provided solutions. Can anyone help me please? It’s getting critical.
The images I am uploading to my child website under WP multisite are not showing up on the website, neither in the media library. The primary site is working fine. I am using sub-folders for sub sites. My HTACCESS file is as below:
RewriteOptions inherit <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L] RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L] RewriteRule . index.php [L] </IfModule>
Primary website: https://www.halalway.com.au
child website: https://www.halalway.com.au/hcsaPlease tell me what I need to do in order to fix this dirty default ill.
Thanks, Athar.
- The topic ‘Images not loading in Multi site environment.’ is closed to new replies.