I've just installed a fresh WordPress setup on Windows Server 2008 Web R2 (IIS7) with SQL Server Express and WordPress 3.1.
I completed the install successfully and logged into the admin section to start the activation of the WordPress network (using sub-domains). Having edited the wp-config file, I added the code WordPress generated to both wp-config (Network specific) and web.config (Rewrites).
Since adding these changes, each time I try to login to WordPress, I just get loop'd straight back to the login page. I've tried to following so far:
- Comment out the network specific changes in wp-config and revert the rewrite rules to standard WordPress ones (Didn't work).
- Checked IIS Admin for any re-writes already in place (None)
Details of wp-config and web.config below:
wp-config: define('WP_ALLOW_MULTISITE', true); define( 'MULTISITE', true ); define( 'SUBDOMAIN_INSTALL', true ); $base = '/'; define( 'DOMAIN_CURRENT_SITE', 'svr-web-csrms' ); define( 'PATH_CURRENT_SITE', '/' ); define( 'SITE_ID_CURRENT_SITE', 1 ); define( 'BLOG_ID_CURRENT_SITE', 1 );
Update: I have had a thought. From reading this here:
Note that per the Settings Requirements you cannot switch from Sub-folder to Sub-domain >when running on 127.0.0.1 or localhost. This can potentially cause an endless loop of >reauth=1 on your root site due to cookie handling.
I may have an issue due to the fact I am using an internal address. I'll set WordPress up with a proper domain and come back.