Multisite Subdirectory weird image paths
-
Clean multisite install using subdirectories done on the root level so nothing fancy.
Image uploads are working fine for the main site, but all sub site images are not working.
I’m getting a url structure like this when I upload an image:
https://site.com/subsite/files/2013/12/image.jpg
when the actual URL for the image should be
https://site.com/subsite/wp-content/uploads/2013/12/image.jpg
Images are being uploaded to the proper place, just not called properly in wp-admin, or on the front-end.
I’ve tweaked with the htcaccess but have had no success there, here’s the original GoDaddy put in there:
<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).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] #RewriteRule ^(.+)?/(wp-.*) /$2 [L] RewriteRule . index.php [L] </IfModule>
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘Multisite Subdirectory weird image paths’ is closed to new replies.