Multisite subdomain defaulting to wp-signup.php
-
I had a multi-site installation at https://www.suttonscouts.org.uk set up as sub-directory. I deleted the sub site I had and changed it subdomain.
I have now created 1nw.suttonscouts.org.uk, I can create and edit the site OK, but if I type 1nw.suttonscouts.org.uk I get re-sirected to https://suttonscouts.org.uk/wp/wp-signup.php?new=1nwThe WP install is at /wp
Can anyone suggest a way to correct this error?I have the following in wp-config.php
define(‘WP_ALLOW_MULTISITE’, false);
define(‘MULTISITE’, false);
define(‘SUBDOMAIN_INSTALL’, false);
define(‘DOMAIN_CURRENT_SITE’, ‘suttonscouts.org.uk’);
define(‘PATH_CURRENT_SITE’, ‘/wp/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);In root I have a .htaccess file with the following:
# Switch rewrite engine off in case this was installed under HostPay.
RewriteEngine OffSetEnv DEFAULT_PHP_VERSION 55
DirectoryIndex index.cgi index.php
RewriteEngine On
RewriteCond %{HTTP_HOST} ^suttonscouts\.org\.uk
RewriteRule (.*) https://www.suttonscouts.org.uk/$1 [R=301,L]RewriteBase /wp/
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]
- The topic ‘Multisite subdomain defaulting to wp-signup.php’ is closed to new replies.