Why does subdomain wp-admin redirect to the top-level
-
Often, when I attempt to go the administrative page for a subdomain, e.g., /wp-admin, I get redirected to the main site’s wp-admin instead. What might cause this? Is this happening at the apache level or the WP level?
Here is my redirect configuration (from Apache’s config; there is no .htaccess file):
<Directory />
RewriteRule ^index\.php$ – [L]
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L]
</Directory>
- The topic ‘Why does subdomain wp-admin redirect to the top-level’ is closed to new replies.