All sub-domains redirecting to main domain – resolved!
-
EDIT: Resolved!
Caching problem ??———————————–
Hi,I have a 2.5.1 WP install on https://www.gjzone.com
I’m wanting to have separate (non-WP) material on sub-domains, such as demo1.gjzone.com.
When I go to the sub-domain, I’m being re-directed to the main domain.
Is this a .htaccess problem that I’ve created? or is this something else?
I’m not seeing anything in the logs, but I haven’t turned on Debug logging yet either.
Here’s my (default) .htaccess file that I’m using:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressand my vhost.conf file (Plesk 8.1.1)
#ServerAlias *.gjzone.com
<Directory /var/www/vhosts/gjzone.com/httpdocs>
php_admin_flag engine on
php_admin_value open_basedir none
php_admin_flag safe_mode off
#AllowOverride FileInfo Options
AllowOverride All
Options FollowSymLinks
</Directory>Anything pop out screaming that there’s a problem with a quick solution?
Thanks
Matt
- The topic ‘All sub-domains redirecting to main domain – resolved!’ is closed to new replies.