Subdomains refuse to work
-
How can I get a multisite subdomain, running on Zeus, to work? I am getting somewhat frustrated as all I get is ‘Page not found’ when clicking on the Subdomain Dashboard link and ‘Access denied’ when clicking on the subdomain ‘view site’
I have deleted and reinstalled the subdomains many times but to no avail.The subdomain site is: https://elmfield.manorway.org.uk
Main site: https://manorway.org.uk
Wordpress works fine on the main site (although it has no user input at present)I am using namesco’s own rewrite.script:
‘ #Zeus webserver version of basic WordPress mod_rewrite rules
map path into SCRATCH:path from %{URL}
look for file at %{SCRATCH:path}
if exists then goto END
look for dir at %{SCRATCH:path}
if exists then goto END
match URL into $ with ^/blog/([_0-9a-zA-Z-]+/)?files/(.+)
if matched then
set URL=/blog/wp-includes/ms-files.php?file=$2
goto END
endif
match URL into $ with ^/blog/([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes|login).*)
if matched then
set URL=/blog/$2
goto END
endif
match URL into $ with ^/blog/([_0-9a-zA-Z-]+/)?(.*\.php)$
if matched then
set URL=/blog/$2
endif
match URL into $ with ^/blog/(.*)
if matched then
set URL=/blog/index.php
goto END
endif ‘Permalink set as: https://manorway.org.uk/index.php/%postname%/
Multisite part of wp-confir.php:
‘
/* Multisite */
define( ‘WP_ALLOW_MULTISITE’, true);
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, true);
define(‘DOMAIN_CURRENT_SITE’, ‘manorway.org.uk’);
define(‘PATH_CURRENT_SITE’, ‘/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);
‘
Appropriate Namesco dns settings:
–blank– .domain A record 85.233.160.70
elmfield .domain A record 85.233.160.70
www .domain CNAME manorway.org.ukAny help in getting my subdomain to work would be very much appreciated.
- The topic ‘Subdomains refuse to work’ is closed to new replies.