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]
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.
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.
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.