Support » Networking WordPress » Admin Redirect On Subdomains

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator Ipstenu (Mika Epstein)


    Lead Plugin Wrangler

    What’s in your .htaccess?

    I am facing similar issue with a slight difference. If I go to, a 404 page is returned. Kindly suggest.
    The .htaccess file is as under;

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule . index.php [L]

    I actually found out what was causing my issue. The Cookie Hash for the main site was declared in wp-config.php. Removing the cookie hash in the wp-config.php fixed the issue.

    I am still facing the issue. Can anyone assist me ?
    Thanks in advance.

    Have you tried to setup a wildcard domain at your host?

    I am unable to find httpd.conf file or the include file containing the VHOST entry on my host ( However, I have added a wildcard domain in my DNS record.

    Can I configure .htaccess file for “ServerAlias” entry ?

    You really might be better off calling godaddy and asking their solution for Server Alias configuration. Each host will have its own procedure. ServerAlias is possible through .htaccess but not really recommended.

    Moderator Ipstenu (Mika Epstein)


    Lead Plugin Wrangler

    webmasterstq – You may be able to do that in cpanel, if GoDaddy has it, but IIRC you can’t wildcard map domains on entry level hosting there.

    You officially have a different problem. And this, friends, is why I tell you ‘Unless you have EXACTLY the same, 100% certain, problem, please make your own post.’

    Chris, I’m marking this resolved since you are.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Admin Redirect On Subdomains’ is closed to new replies.