Multisite subdomain non-www link issue
-
We recently migrated our single site to a multisite and have run into a variety of issues. Our site is hosted on Azure (Microsoft – IIS). The issue is thomas.edu/visit forwarded you to a page to register a new site, while https://www.thomas.edu/visit went to the correct location. All url’s now require www in order to work correctly.
Following some instructions I have added define(‘NOBLOGREDIRECT’… to my wp-config.php file, but this does not resolve the issue. It just forwards everyone back to the homepage.
We have tried adding a new rule to web.config, but it did not help.
<rule name="Add www" stopProcessing="true"> <match url=".*" /> <conditions> <add input="{CACHE_URL}" pattern="^(.+)://(?!www)(.*)" /> </conditions> <action type="Redirect" url="{C:1}://www.{C:2}" redirectType="Permanent" /> </rule>
With our old single install whenever someone typed in a URL that was close, it would forward to the correct page, now it has to be exactly a match. Is this normal with the multisite?
If we can’t resolve this we will have to switch back to a single site, but I am hoping someone out there has seen this and knows how to resolve it.
The page I need help with: [log in to see the link]
- The topic ‘Multisite subdomain non-www link issue’ is closed to new replies.