Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter mauridoom

    (@mauridoom)

    Hi @sewmyheadon
    Thanks for your reply !
    I will save your .htaccess settings as last recourse.
    I wanted to know why in the wordpress multisite
    settings –> My sites –> Main Site Settings –>
    The website url is grey, cannot edit it to add secure ‘S’
    While i can on the other sites in the network.
    Also i don’t have the domain maping option in the network dashboard,
    like i saw in some tutorials on the web. Seems wordpress latest updates
    changed the network setup a little bit.

    How can i add your code or combine with the already multisite code i have in the .htaccess ?

    My .htaccess:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    This is my config settings:

    define('WP_HOME','https://mysite.com');
    define('WP_SITEURL','https://mysite.com'); 
    define('WP_DEBUG', false);
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'mysite.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    define('FORCE_SSL_ADMIN', true);
    
    /* Multisite */
    define( 'WP_ALLOW_MULTISITE', true );
    define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST']);

    also where is the url settings of the mainsite in the network stored ?

    Thanks in advance to anyone who could explain, help me

Viewing 1 replies (of 1 total)