Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

share|improve this question
"I can see in the htaccess where the problem is" ... point it out, don't make us guess. Tell us exactly what's wrong and we might be able to help. – EAMann Dec 6 '11 at 22:12

closed as too localized by toscho Jul 5 '12 at 1:46

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

2 Answers

Try adding /network/ before wp-admin in the url

share|improve this answer

Have you looked into this thread? It is a mod on the WordPress HTTPS plugin.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.