Viewing 4 replies - 1 through 4 (of 4 total)
  • Multisite Subdomain Netwowrk www.network.com , secondary site ns1.network.com (obviously it is not possible to insert www for secondary sites).
    From WordPress 4.5 without mapping plugins, after creating the secondary site when clicking on edit, the mapping of the domains is activated (it can be any domain while with Multisite subdomain it is limited to add a subdomain to the network).

    Thread Starter devtb

    (@devtb)

    After creating second site I changed whole link. There are basically 2 different multisites on same server

    ok is the correct configuration, you can diagnose if your htaccess rewrites the site.com url (without www prefix) in www.example.com.
    It’s definitely a server-side rewrite.
    do you also have a DNS record for site.com or just www.site.com ?

    Thread Starter devtb

    (@devtb)

    I cant see that rewrite in htaccess file
    This is in rewrite section:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    		RewriteEngine On
    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]
    </IfModule>

    I will check DNS records also.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Direct link wrong redirect’ is closed to new replies.