• Hi all.

    I have problems viewing my subdirectory site and dashboard. I have dug dig into Google, but nothing seems to be working. I have been on this for days and did everything I know. I even reinstalled multisite.

    chateaumaryfrance.com
    chateaumaryfrance.com/schi (can’t view this AND wp-admin)

    Here is my .htaccess file:

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

    And this is my wp-config.php file:

    /* Multisite */
    define('WP_ALLOW_MULTISITE', true);
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'chateaumaryfrancewine.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    Also, I don’t understand why I see a /blog/ in my permalinks when I’ve downloaded WordPress straight into /var/www/html. Is that because of the multisite? If yes, I don’t see a blog (or any for the multisite) sub directory in root. Please help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there

    I think you may have put in the wrong domain here.

    chateaumaryfrance.com

    This cannot be viewed either and is actually a domain still available for purchase. Can you provide us with the correct domain?

    Thread Starter theprocyon

    (@theprocyon)

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    http://chateaumaryfrancewine.com/schi is a generic 404.

    Your main site is using ugly permalinks – http://chateaumaryfrancewine.com/?p=1

    Change that to pretty permalinks.

    Also, I don’t understand why I see a /blog/ in my permalinks when I’ve downloaded WordPress straight into /var/www/html. Is that because of the multisite? If yes, I don’t see a blog (or any for the multisite) sub directory in root. Please help.

    Becuase Multisite. It’s default. It’s hard coded. You CAN change it, but you have to be careful.

    This is because you picked Subfolders for your network.

    Edit the site via network admin -> sites

    Click on settings and scroll till you find the permalink settings.

    Remove blog.

    Now bear in mind, should you ever change permalinks on the main site, you will have to go back and do that again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can't view subdirectory sites and dashboard.’ is closed to new replies.