Another "Missing or invalid site address."
-
I have setup multisite in the wp-config.php and .htaccess files. copied the site address from the domain manager
“invalid sitre toppremiumproductsgroup.com”
and still get the error//** allow multisites on one host and wordpress installation
define(‘WP_ALLOW_MULTISITE’, true);define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, false);
define(‘DOMAIN_CURRENT_SITE’, ‘www.mhdassoc.com’);
define(‘PATH_CURRENT_SITE’, ‘/Wordpress/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);/* That’s all, stop editing! Happy blogging. */
AND
.htaccess in the public_html directory
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mhdassoc\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.mhdassoc\.com$
RewriteRule ^/?$ “http\:\/\/MHDAssoc\.com\/Wordpress” [R=301,L]# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressAND
.htaccess in the public_html/wordpress/ directory
# BEGIN s2Member GZIP exclusions
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /Wordpress/
RewriteCond %{QUERY_STRING} (^|\?|&)s2member_file_download\=.+ [OR]
RewriteCond %{QUERY_STRING} (^|\?|&)no-gzip\=1
RewriteRule .* – [E=no-gzip:1]
</IfModule>
# END s2Member GZIP exclusions# BEGIN WordPress
RewriteEngine On
RewriteBase /Wordpress/
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]# END WordPress
- The topic ‘Another "Missing or invalid site address."’ is closed to new replies.