Support » Alpha/Beta/RC » MultiSite

  • Trying out multisite locally; I run in some problems.
    As soon as I add the .htaccess with:

    RewriteEngine On
    RewriteBase /web/
    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 get an error 500 all the time. When I remove (or rename) the .htaccess file, then tha admin works fine but of course the links to the “subside-folders” lead to an error 404 then.

    I’m on an Ubuntu notebook with XAMPP and having my webs in my home folder but really don’t remember how I linked it there….

    Does anyone else have similar difficulties or a hint on wha’ts wrong here. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrea Rennick


    Customer Care at Copyblogger Media and Studiopress

    Do you acces the site in a browser via ?

    If so, change this line:
    RewriteBase /web/

    RewriteBase /

    Thanks for your reply.

    It propably would help, if I knew what I’m doing, but I just work on try and error…

    in the browser I access the site with:

    changing only the RewriteBase in .htaccess still leads to an error 500.

    I know I changes some line in an Apache config file or so to make “/home/[user]/web” the webroot or so, but I don’t remember what I did exactly.

    Well, my bad.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘MultiSite’ is closed to new replies.