Thumbnail wont show on wp multisite
-
Hi, i have problem with thumbnail. Image on post/page show perfectly but thumbnail wont show. Recently, i rename “wp-content” folder to “files”.
My thumbnail path :
https://info-kecantikan.com/wp-content/blogs.dir/2/files/uploads/sites/2/2014/06/Bebas-Jerawat-5.jpg?resize=230%2C100My real image path :
https://info-kecantikan.com/files/uploads/sites/2/2014/06/cara-menghilangkan-jerawat-secara-alami.jpg?resize=300%2C205My htaccess code
# BEGIN Tweaks # Rules to block access to WordPress specific files <files .htaccess> Order allow,deny Deny from all </files> <files readme.html> Order allow,deny Deny from all </files> <files readme.txt> Order allow,deny Deny from all </files> <files install.php> Order allow,deny Deny from all </files> <files wp-config.php> Order allow,deny Deny from all </files> # Rules to disable directory browsing Options -Indexes # END Tweaks # BEGIN WordPress <IfModule mod_rewrite.c> 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] </IfModule> # END WordPress
My wp-config :
<?php //Do not delete these. Doing so WILL break your site. define( 'WP_CONTENT_DIR', ABSPATH . 'files' ); define( 'WP_CONTENT_URL', 'https://' . $_SERVER['HTTP_HOST'] . '/files'); define( 'PLUGINDIR', 'files/plugins' ); /* Multisite */ define( 'WP_ALLOW_MULTISITE', true ); define('MULTISITE', true); define('SUBDOMAIN_INSTALL', false); define('DOMAIN_CURRENT_SITE', 'www.cantik-jelita.com'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1); define('UPLOADS', 'files/uploads'); /* That's all, stop editing! Happy blogging. */ /** Absolute path to the WordPress directory. */ if ( !defined('ABSPATH') ) define('ABSPATH', dirname(__FILE__) . '/'); /** Sets up WordPress vars and included files. */ require_once(ABSPATH . 'wp-settings.php');
is there anything wrong in my htaccess or my wp-config files? please help me
- The topic ‘Thumbnail wont show on wp multisite’ is closed to new replies.