Images 'broken' in WP multisite
-
Hi,
I’ve just installed multi-site to my domain http://www.naturallyorganix.com and and created a second site http://www.private-label-shop.naturallyorganix.com.
Everything works just fine but at http://www.naturallyorganix.com/products-2/ page i can’t see my images anymore.when i click on a product and get a single product page i can click on the broken image i can see the picture. When i right click on the broken image and select and view image info i can see that the image upload files is
http://www.naturallyorganix.com/http://www.naturallyorganix.com/wp-content/uploads/2014/09/image.jpg
Is you may see it created and extra domain name in the location of the image file.
How can i remove the extra added domain name, any help would be much appreciated.
My .htaccess file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
<IfModule mod_rewrite.c>
# START wordpressBruteforceFix
RewriteEngine On
RewriteCond %{request_uri} ^(.*)/wp-login.php$
RewriteRule . – [E=REWRITEBASE:%1]
RewriteCond %{QUERY_STRING} “!x=(.*)”
RewriteCond %{QUERY_STRING} “!action=(.*)”
RewriteCond %{HTTP_REFERER} “!.*/wp-login.php\?x=y”
RewriteRule wp-login.php %{ENV:REWRITEBASE}/wp-login.php?x=y [L,R=301]php_value upload_max_filesize 1024M
php_value post_max_size 1024M
php_value max_execution_time 1000
php_value max_input_time 1000# END wordpressBruteforceFix
</IfModule>php_value upload_max_filesize 1024M
php_value post_max_size 1024M
php_value max_execution_time 1000
php_value max_input_time 1000## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg “access plus 1 year”
ExpiresByType image/jpeg “access plus 1 year”
ExpiresByType image/gif “access plus 1 year”
ExpiresByType image/png “access plus 1 year”
ExpiresByType text/css “access plus 1 month”
ExpiresByType application/pdf “access plus 1 month”
ExpiresByType text/x-javascript “access plus 1 month”
ExpiresByType application/x-shockwave-flash “access plus 1 month”
ExpiresByType image/x-icon “access plus 1 year”
ExpiresDefault “access plus 7 days”
</IfModule>RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L]
## EXPIRES CACHING ##
The topic ‘Images 'broken' in WP multisite’ is closed to new replies.