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

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    What’s in your .htaccess?

    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]

    Thread Starter Chris Collins

    (@chrchcol)

    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.

    Thread Starter Chris Collins

    (@chrchcol)

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

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

    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 ?

    Thread Starter Chris Collins

    (@chrchcol)

    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)

    🏳️‍🌈 Advisor and Activist

    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.