• Elshereef

    (@elshereef)


    When i create a new site it’s totally broken like this:
    newsite
    it’s a subdirectory site.
    here is the codes that i post to wp-config and .htaccess

    define('WP_ALLOW_MULTISITE', true);
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'theartation.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    .htaccess

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Please use code tags (see the buttons above the text entry box? The code one will help format text 🙂 )

    The issue you’re seeing is generally caused by the httpd.conf not having allowoverride set to all. Basically, your server isn’t reading the htaccess correctly.

    Thread Starter Elshereef

    (@elshereef)

    Thanks a lot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘My new sites in WP multisite have no styles at all’ is closed to new replies.