• Hi after alot of search i am not able to find a solution to this problem. Hoping to find a solution here.
    I have created a multisite on standalone wordpress after 2-3 month, By default worpdress was not allowing me to have sub-directory system but a subdomain option only.
    Since i wanted to setup a sub-directory,i inserted
    this code in wp-config.php

    define('SUBDOMAIN_INSTALL', false);

    and this my .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]

    Upload Url Path, Upload Path and Uploads Use Yearmonth Folders are empty in super admin settings.
    As i wanted to move the contains from main domain to subdomain, For this i used traditional xml import and later i even used Blog Copier plugin.
    Every thing got imported seamlessly. but all images are breaking, which are working well in the main site.
    you can check at
    Main Site
    http://www.myweddingplanning.in/listing-types/wedding-venues/
    Sub-directory
    http://www.myweddingplanning.in/wedding-venues/

    When i checked the media library in sub-directory’s Dashboard, I can see all the attached images.

    Please Help me and let me know where have i gone wrong.
    Thank you.

Viewing 1 replies (of 1 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I think it’s your theme, since if you view source you get this:

    <img src="" alt="The Lalit Golf and Spa" title="The Lalit Golf and Spa">

    TimThumb, perhaps?

Viewing 1 replies (of 1 total)

The topic ‘Images Breaking in WordPress Multisite, Sub-directory’ is closed to new replies.