Sub-Directory Installation Option Not Appearing

I did a fresh WP install, turned on “pretty links” and updated my wpconfig file for multi site, WHEN I go to Network Setup it is not giving the option for Sub-Directory install of Multi-Site, only Sub-Domain.

What should I do?

  • Kunal
    • Design Lord, Child of Thor

    Update:

    So I think I have hacked my wpconfig file by updating to show FALSE on subdomain installation, which seems to have worked…. but not really, because now my user get the right email, with the right URL but when going to the URL it shows a broken site:

    lifetimecure.com/kratom

    AND the WP-Login is not working for the new user, it says Safari can not load the page.

    Not sure why this is happening.

  • Kunal
    • Design Lord, Child of Thor

    Here is my htaccess file info, from top to bottom:

    #Use PHP 5.4

    AddType application/x-httpd-php54 .php

    <IfModule mod_suphp.c>

    suPHP_ConfigPath /opt/php54/lib/php.ini

    </IfModule>

    # BEGIN WPSuperCache

    <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>

    # END WordPress

  • Jack Kitterhing
    • Code Norris

    Hi there @kunal,

    Hope you’re well today, can you edit your .htaccess please to this

    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]

    Which is default and deactivate your caching plugin, which could be causing issue.

    Then see if the sites work correctly?

    On the SSL issue, that’ll be fine, as a standard SSL will cover the main domain and sub directories :slight_smile:

    Thanks!

    Kind Regards

    Jack.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.