WordPress SME Server 8 iBay .htaccess resolved

This WordPress site is hosted in a WordPress Network setup, i.e. the equivalent of the old MU setup.

I have had this working fine on the live site (where you are now) but had issues with the wp-admin failing with a 404 error in my development server based on SME Server version 8 beta6.

As it turns out the hours of messing around I did came down to a very simple fix.

The .htaccess file has to be adapted for operation within an SME Server iBay.

The WordPress recommended configuration assumes that WordPress is in the root of the site:

[code]
# BEGIN WordPress
RewriteEngine On
RewriteBase /
[/code]

while an SME Server iBay is in fact a Rewrite process as well.

[code]
# BEGIN WordPress
RewriteEngine On
RewriteBase /ibayname
[/code]

This will allow the Rewrite’ing of the wp-admin to work with the Network settings for the virtualised sub-directories for the sub-blogs.

My Reference: Apache 2 Rewrite Documentation

My post at contribs.org the home of SME Server.

 

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *