Image paths issues for multisites
-
I created wordpress multisite on windows server
the first site works fine for uploads and images
when I created a new multisite all images are not showing
where they upload them to (dmuc/uploads) work fine for the main first site
the new site upload them to for example (/dmuc/uploads/sites/3/2019/08/Ar_logo-1.jpg)but when i come to see the image link i found it put the name of the site before it for example
example.com/esas/dmuc/uploads/sites/3/2019/08/Ar_logo-1.jpg
gives error not showing anyone know how to help ASAP? i use security plugins and deactivate all of them but no luck
here the wp config
define ('WP_CONTENT_DIR',__DIR__ .'/dmuc'); define('WP_CONTENT_URL','https://195.246.50.245/dmuc'); define( 'UPLOADS', 'dmuc/uploads' ); /* Multisite */ define('MULTISITE', true); define('SUBDOMAIN_INSTALL', false); define( 'DOMAIN_CURRENT_SITE', '195.246.50.245' ); define( 'PATH_CURRENT_SITE', '/' ); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1);
for htaccess i use security plugins so will find it long
[[Large code excerpt removed by moderator per forum rules. Please use Pastebin or a Gist for all large code excerpts, they work better anyway.]]
- The topic ‘Image paths issues for multisites’ is closed to new replies.