Support » Networking WordPress » standalone site URL in subdirectory being overtaken by main domain MU site

  • SRD75

    (@srd75)


    Hi,

    I have a subdirectory MU website installed at example.com

    I have a standalone website installed at example.com/mainwp

    Originally, both example.com & example.com/mainwp loaded fine.

    Now, neither example.com does but example.com/mainwp does not.

    Additionally example.com/wp-admin does not.

    This is example.com’s .htaccess:

    # Begin WordPress
    <IfModule mod_rewrite.c>
    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]
    </IfModule>
    # End WordPress

    Help appreciated.

  • The topic ‘standalone site URL in subdirectory being overtaken by main domain MU site’ is closed to new replies.