WP Multisite File Upload/Media Issue
-
Hello,
There’s an issue on one of my client’s websites and I was hoping to find some help here in the WP community.
I have a WP multisite setup and the primary domain is here. Additional sites in the network are (1) here and (2) here.
Site (2) is not displaying any images/media.
This is the htaccess file in the root directory of the primary domain.
<ifmodule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} ^gpstrackingcanada\.com$ [NC] RewriteRule ^(.*)$ https://www.gpstrackingcanada.com/$1 [R=301,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 . index.php [L] deny from 70.29.62.166 # END WordPress
The links on (2) site are not correct. For example, the featured image for the post on the home page has a link such as:
This displays a message saying “A TimThumb error has occured” (yes, occurred is misspelled in the message :-))
but it should be pulling the image from :
Any help or insight would be very appreciated! Thanks.
- The topic ‘WP Multisite File Upload/Media Issue’ is closed to new replies.