I have an account with one.com and have recently installed Wordpress 3.2.1. I have set up two sub-domain blogs which I could not access. I have contacted one.com and was given the following htaccess file to replace what was supplied by Wordpress:
RewriteEngine On
#rewriting wordpress stuff to the root
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^/wp-((content|admin|includes)|((cron|login)\.php))
RewriteCond %{HTTP_HOST} ([a-zA-Z0-9-]+\.([a-z]{2,4})|co\.uk|me\.uk|org\.uk|priv\.no)$
RewriteRule ^(.*)$ http://%1/%{REQUEST_URI} [L,QSA]
#rewriting everying that can't be found to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
#rewriting everything else to index.php
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteCond %{REQUEST_URI} !^/wp-(content|admin|includes|login|cron)(\.php)?
RewriteRule . index.php [L]
I can now, at least, see the sub-domain blogs. What I cannot do is access wp-admin for each sub-domain. It gets redirected to the domain's wp-admin.
I can see in the htaccess where the problem is, but I cannot find a solution.
How do I get into the wp-admin section of my sub-domain blogs?
http://richard.parnaby-king.co.uk/
[edit]
The problem, as I see it, is that the rewrite rule (RewriteCond %{REQUEST_URI} ^/wp-((content|admin|includes)|((cron|login)\.php))) is catching my requests to log into the dashboard and redirecting me to the host dashboard instead.