Multisite Not Recognizing My Subdomains
-
I just moved my site from my dev server to my live server. On the dev, everything was working fine, however on the live server my subdomains act erratically.
I can access https://sub.domain.com and it shows my template files. However, none of the javascript/css/images load. In the source, these assets are referencing sub.domain.com. However, if I try to access these assets without the subdomain portion, they load just fine.
Why is it that everything except my js, css, and images will load on the subdomain?
Here is a copy of the WordPress portion of my .htaccess file in case that’s the problem:
php_value max_execution_time 60
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
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]
- The topic ‘Multisite Not Recognizing My Subdomains’ is closed to new replies.