Images Broken in subdomain
-
Hi,
It seems there is problem with my .htaccess file. The images in main site is displaying properly. But, I cannot upload any images to subdomains. Also the images uploaded before to subdomains is not displaying & broken.I’ve tried checking the images as follows.
The image url link is: https://subdomain.domain.com/files/2012/08/image.gifWhen I changed the above url to following the images displayed properly.
https://subdomain.domain.com/wp-includes/ms-files.php?file=2012/08/image.gifMy .htaccess file
# BEGIN WordPress
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)$ wp/$1 [L]
RewriteRule . index.php [L]# END WordPress
Please help me resolve this issue.
- The topic ‘Images Broken in subdomain’ is closed to new replies.