mkorver65
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 3.8 Image Problemdear all,
in the 1st/main blog the featured pictures do show on the main page but for all other subdomain blogs they dont show!
The subdomains are setup as subfolders!
Network settings according installation:
[B]wp-config.php[/B]
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][U]Permalink Structure:[/U]
/%year%/%monthnum%/%day%/%postname%/BLOG POST SUBDOMAIN:
[B] Editor[/B]
The permalink of a featured image shows while editing in the post the next:
Permalink: http://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=”http://www.nieuwsplein.com/aalten/wp-content/themes/_stylebook/timthumb.php?src=http%3A%2F%2Fwww.nieuwsplein.com%2Faalten%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
So the upload routine when operation form within a subdomain/subsite does not create the site folder but put them always in the root!
The website:
http://www.nieuwsplein.com
http://www.nieuwsplein.com/aalten