Featured images sub sites not showing WordPress
-
dear all,
in the 1st/main blog the featured pictures do show on the main page but for all other subdomain blogs/sites they dont show!
The subdomains/sites are setup as subfolders!
Network settings according installation:
wp-config.php
define('MULTISITE', true); define('SUBDOMAIN_INSTALL', false); define('DOMAIN_CURRENT_SITE', 'www.nieuwsplein.com'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1);
.htaccess
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [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]
Permalink Structure:
/%year%/%monthnum%/%day%/%postname%/
BLOG POST SUBDOMAIN/SITE:
Editor
The permalink of a featured image shows while editing in the post the next:
Permalink: https://www.nieuwsplein.com/hilversum/2014/02/20/riool-hilversum-spoelt-goed-door/riool/Website
On the actual website it shows a broken image, and if you inspect the element you can see the image source is looking at the wrong place!<img src="https://www.nieuwsplein.com/aalten/wp-content/themes/_stylebook/timthumb.php?src=http%3A%2F%2Fwww.nieuwsplein.com%2F<strong>aalten</strong>%2Fwp-content%2Fuploads%2Fsites%2F4%2F2014%2F02%2Ftrein.jpg&q=90&w=35&h=35&zc=1" class="" alt="test 2" title="test 2">
The actual file is uploaded to: /wp-content/uploads/sites/4/2014/02
The website:
https://www.nieuwsplein.com
https://www.nieuwsplein.com/aalten
- The topic ‘Featured images sub sites not showing WordPress’ is closed to new replies.