• Extremely new to installing wordpress. However I thought I had most everything worked out.

    I have WordPress 3.0.4 installed on a Windows Home Server Machine running IIS 6.

    I believe I have url rewriting configured correctly via Ionics ISAPI Rewrite Filter (https://iirf.codeplex.com/). I believe it’s working because navigating to the first sample post results in a working path of “https://schiavone.homeserver.com/blog/2011/01/20/hello-world/”, that’s “pretty” right? ??

    So here’s the issue, I’ve tried to add a second site. One called “recipes”, however navigating to /blog/recipes or /blog/anythingelse brings me to the main site.

    My IIRF.ini file (which if I’m understanding correctly is the equivalent to .htaccess in apache) reads:

    RewriteEngine On
    RewriteBase /blog/
    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]

    Any thoughts?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I think it’s the web.config file you need to look at.

    Thread Starter bschiav

    (@bschiav)

    Thank you for the suggestion…however I’m not really sure what to look for

    I’ve just tried removing Ionics ISAPI rewrite filter and using Managed Fusion URL Rewriter via this link:
    https://www.incrementalcoding.com/post/2010/04/18/Wordpress-Blog-on-Windows-Hosting-using-Managed-Fusion-URL-Rewriter.aspx

    Also tried using the wordpress code for .htaccess in the Managed Fusion rules file since their docs stated it used the same syntax and could be copied over. Installation seems like it just required copying the files to the right spot unless I’m totally missing something.

    Either way I’m now further away than before…now clicking on the post gives me a 404 error. It’s surprising that I can’t find a straightforward tutorial on this…I’m doing quite a bit of searching…

    I may revert back to the url writer I had before and tinker with the web.config file as you mentioned…however like I said, I wouldn’t really know what to look for.

    Me neither, as I don’t work on Windows boxes.

    Every other thread in here about them has web.config specs and uses IIS 7 tho.

    Just remembered – you need a paid module in IIS 6 to do the rewrite rules…

    Thread Starter bschiav

    (@bschiav)

    Thanks again, there are numerous free rewrite filters for IIS6…my issue is very likely a configuration problem once I have them up and running. It may be more of a pain than it’s with with my current setup…I certainly want to keep all of the WHS functions working so I can’t ditch IIS6.

    I’ll just go ahead and work with multiple installations, At least until I gain a better understanding of some of this stuff.

    FYI for those who may search this, this link seemed to work for permalinks on WHS, but didn’t work when I attempted to go with a network install as mentioned in the above posts

    https://www.chriscredendino.com/2009/03/10/how-to-create-wordpress-pretty-permalinks-on-iis-whs/

    Iconics ISAPI Rewrite Filter also worked for permalinks…If anyone figures out the proper configuration to get either working with a network install please share. Otherwise I’ll go with multiple installations for now, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Each site seems to link to the same "main" site’ is closed to new replies.