Multisite Links not Working
-
I have a Worpress Multisite installation that uses subdomains. The main site is https://energywerx.ca and the subdomains are divisions of the company, for example https://alberta.energywerx.ca.
Starting today any new pages created on the subdomain alberta.energywerx.ca are directing to the main site, energywerx.ca. Any pages created prior to today continue to work as expected.
There have been no recent site changes beyond regular updates to core, theme or plugins, no DNS or other changes. These sites have been active for over a year without any issue.
If anyone has any insight it would be greatly appreciated.
From previous questions I have looked at I understand that the htaccess file may be important in this case, so here it is:
SetEnv PHPRC /home/customer/www/energywerx.ca/public_html/php.ini # HTTPS forced by SG-Optimizer <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] </IfModule> # END HTTPS # BEGIN WordPress # The directives (lines) between
BEGIN WordPress
andEND WordPress
are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*\.php)$ $1 [L] RewriteRule . index.php [L] # END WordPress # SGO Unset Vary Header unset Vary # SGO Unset Vary ENDThe page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.