Support » Networking WordPress » help with multi plus iis

  • x2


    We are running wp 3.1.1 with multi enabled. IIS 6. We are currently using helicon isapi rewrite.

    Our rewrite rule is:

    # Helicon ISAPI_Rewrite configuration file # Version
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteLogLevel 9
    LogLevel debug
    # 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]

    When we visit a subsite, it just shows the content from the main blog. I believe it has something to do with the write engine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • In the second to last line, you have two RewriteRule entries on one line. Move the second one to its own line and try it.

    I have been tearing my hair out over this one as well. It’s not due to x2’s missing line break. I’ve got the same code with the proper line break and I see the same behavior. I have no trouble accessing the main blog in my network install, but any subdirectory blogs just redirect to the main one. Or in the instance of a URL such as this:

    I am redirected to the main blog’s equivalent:

    Anyone have any luck getting this to work on IIS 6 using Helicon’s ISAPI Rewrite 3.0?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘help with multi plus iis’ is closed to new replies.