• Hi all,

    First off, here is a copy of my htaccess FWIW:

    # disable directory browsing
    Options All -Indexes
    
    # Protect htaccess
    <files ~ "^.*\.([Hh][Tt][Aa])">
    order allow,deny
    deny from all
    satisfy all
    </files>
    
    <Files wp-config.php>
    order allow,deny
    deny from all
    </Files>
    
    # prevent viewing of a specific file
    <files config.php>
     order allow,deny
     deny from all
    </files>
    
    Options +FollowSymLinks
    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [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]

    I am encountering an issue where I have changed my sub-directory install site from example.com/a to example.com/b and the images are still showing a path to example.com/a, even though I am using example.com/b now. Also when I say the images are still showing, they aren’t displaying, but when viewing the source of the path, it shows that they are linked to example.com/a.

    My question is, is how do I remedy this and get this sorted out appropriately? Thank you in advance for the help.

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

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I am encountering an issue where I have changed my sub-directory install site from example.com/a to example.com/b and the images are still showing a path to example.com/a, even though I am using example.com/b now.

    Did you edit your old posts?

Viewing 1 replies (of 1 total)

The topic ‘WordPress Multisite / Changed Sub-Directory / Images Broken’ is closed to new replies.