• hello can you please tell me why I can’t access site1.domainname.com
    I made subfolder called site1 and I can enter only with domainname.com/site1 which I don’t want also how can I go to domainname.com/home without typing that “home”.

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /domains/domainname.com/home/
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?siteN/files/(.+) wp-content/blogs.dir/N/files/$2 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    # END WordPress
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    $base = '/domains/domainname.com/';
    define('DOMAIN_CURRENT_SITE', 'domainname.com');
    define('PATH_CURRENT_SITE', '/domains/domainname.com/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
Viewing 2 replies - 1 through 2 (of 2 total)
  • For solutions for the domain based url please check https://codex.www.ads-software.com/Before_You_Create_A_Network#Server_Requirements
    if you have the above requirements.

    To have a static home page you need to change the setting from the admin.
    The path is
    Dashboard/Setting/Reading/Front page diaplays

    Hope this help ??

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I made subfolder called site1 and I can enter only with domainname.com/site1

    You didn’t actually make a subfolder, did you? You juyst made a subfolder site, right?

    Also that base config stuff looks weird…

    Where is WP installed? /domains/domainname.com/home/ isn’t what you see from the front end, it’s just domainname.com, so you should just have / as your $base and ReWriteBase

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can't access subdomain only subfolder’ is closed to new replies.