WordPress.org

Support

Support » Multisite » [Resolved] Admin Redirect On Subdomains

[Resolved] Admin Redirect On Subdomains

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

    @ipstenu

    What’s in your .htaccess?

    webmasterstq

    @webmasterstq

    I am facing similar issue with a slight difference. If I go to sub.domain.com/wp-admin, 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.

    webmasterstq

    @webmasterstq

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

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

    http://codex.wordpress.org/Create_A_Network#Step_2:_Setting_Wildcard_Subdomains

    webmasterstq

    @webmasterstq

    I am unable to find httpd.conf file or the include file containing the VHOST entry on my host (GoDaddy.com). 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)

    @ipstenu

    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 ‘[Resolved] Admin Redirect On Subdomains’ is closed to new replies.
Skip to toolbar