Can't access subdomain only subfolder
-
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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Can't access subdomain only subfolder’ is closed to new replies.