Support » Networking WordPress » Multisite Links not Working

  • Josef Stevens


    I have a Worpress Multisite installation that uses subdomains. The main site is and the subdomains are divisions of the company, for example

    Starting today any new pages created on the subdomain are directing to the main site, 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/
    # 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]
    # BEGIN WordPress
    # The directives (lines) between BEGIN WordPress and END 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 END

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Deviant Media LLC


    The .htaccess file is primarily used to control the server’s behavior for specific directories or URLs of a website. The provided .htaccess file contains rules to enforce HTTPS and remove the Vary header for performance reasons. Additionally, it contains the standard WordPress rewrite rules for clean URLs.

    As such, the issue with your subsites may be related to a different configuration, such as the WordPress Network Settings or the configuration of the individual subsite.

    Here are some potential solutions to investigate:

    1. Check the WordPress Network Settings: Ensure that the “Site Address (URL)” and “WordPress Address (URL)” are correctly set for each subsite. These settings can be found in the Network Admin Dashboard under “Sites > Edit” for each subsite.
    2. Verify the .htaccess file for subsites: Check that each subsite has its own .htaccess file, and it contains the correct rewrite rules for that specific subsite.
    3. Review the subsite’s configuration: Check the settings of each subsite in the WordPress Dashboard, specifically under the “Settings” menu. Ensure that each subsite has the correct configuration settings, including the “Site URL” and “Home” options.
    4. Check for conflicting plugins or themes: Deactivate any plugins or themes that could potentially conflict with the subsite’s configuration. You can try to activate each one again to see which one may be causing the issue.
    5. Contact your web hosting provider: If none of the above solutions resolve the issue, contact your web hosting provider for further assistance. They may be able to provide additional insights into the configuration of your WordPress Multisite installation.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.