{"id":11896216,"date":"2019-09-03T23:31:49","date_gmt":"2019-09-03T23:31:49","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/new-multisite-error\/"},"modified":"2019-09-03T23:31:49","modified_gmt":"2019-09-03T23:31:49","slug":"new-multisite-error","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/new-multisite-error\/","title":{"rendered":"New Multisite Error"},"content":{"rendered":"<p>So I created a new multisite to customize a new theme.<\/p>\n<p>I have the site http:\/\/www.gothamartshd.com setup and successfully running a multisite for https:\/\/store.gothamartshd.com <\/p>\n<p>Now, going to http:\/\/test.gothamartshd.com my site redirects to my other site (mdpdance.com) and gives me the following:<\/p>\n<p>&#8220;Greetings Network Administrator! The network currently allows user registrations. To change or disable registration go to your Options page.&#8221;<\/p>\n<p>The site you were looking for, https:\/\/testgothamartshdcom.mdpdance.com\/, does not exist.&#8221;<\/p>\n<p>Note: The FTP server has mdpdance.com WP installed and gothamartshd.com WP in a folder on the FTP.<\/p>\n<p>I have changed my .htaccess many times. Maybe missing something here.<br \/>\nThe following doesn&#8217;t work:<\/p>\n<pre><code># BEGIN WordPress\n&lt;IfModule mod_rewrite.c&gt;\nRewriteEngine On\nRewriteBase \/\nRewriteRule ^index\\.php$ - [L]\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteCond %{REQUEST_FILENAME} !-d\nRewriteRule . \/index.php [L]\n&lt;\/IfModule&gt;\n# END WordPress<\/code><\/pre>\n<p>I changed it to this, still not working:<\/p>\n<pre><code># BEGIN WordPress\n&lt;IfModule mod_rewrite.c&gt;\nRewriteEngine On\nRewriteBase \/\nRewriteRule ^index\\.php$ - [L]\n\n# add a trailing slash to \/wp-admin\nRewriteRule ^wp-admin$ wp-admin\/ [R=301,L]\n\nRewriteCond %{REQUEST_FILENAME} -f [OR]\nRewriteCond %{REQUEST_FILENAME} -d\nRewriteRule ^ - [L]\nRewriteRule ^(wp-(content|admin|includes).*) $1 [L]\nRewriteRule ^(.*\\.php)$ $1 [L]\nRewriteRule . index.php [L]\n&lt;\/IfModule&gt;\n# END WordPress<\/code><\/pre>\n<p>And adding the following to my wp-config.php: <\/p>\n<pre><code>define(&#039;WP_HOME&#039;,&#039;http:\/\/gothamartshd.com&#039;);\ndefine(&#039;WP_SITEURL&#039;,&#039;http:\/\/gothamartshd.com&#039;);\n\n\/* Enabling multisites *\/\ndefine(&#039;WP_ALLOW_MULTISITE&#039;, true);\ndefine(&#039;MULTISITE&#039;, true);\ndefine(&#039;SUBDOMAIN_INSTALL&#039;, true);\ndefine(&#039;DOMAIN_CURRENT_SITE&#039;, &#039;gothamartshd.com&#039;);\ndefine(&#039;PATH_CURRENT_SITE&#039;, &#039;\/&#039;);\ndefine(&#039;SITE_ID_CURRENT_SITE&#039;, 1);\ndefine(&#039;BLOG_ID_CURRENT_SITE&#039;, 1);\n\n\/* Fix for ram crashing issues with menu and resolved Theme Customization. *\/\ndefine(&#039;WP_MEMORY_LIMIT&#039;,&#039;128M&#039;);\ndefine(&#039;WP_MAX_MEMORY_LIMIT&#039;,&#039;512M&#039;);\n\ndefine(&#039;NOBLOGREDIRECT&#039;, &#039;http:\/\/gothamartshd.com\/&#039;);\n\n\/* That&#039;s all, stop editing! Happy blogging. *\/\n\n\/** Absolute path to the WordPress directory. *\/\nif ( !defined(&#039;ABSPATH&#039;) )\n\tdefine(&#039;ABSPATH&#039;, dirname(__FILE__) . &#039;\/&#039;);\n\n\/** Sets up WordPress vars and included files. *\/\nrequire_once(ABSPATH . &#039;wp-settings.php&#039;);<\/code><\/pre>\n<p>Any suggestions?<br \/>\nThanks in advance.<\/p>\n","protected":false},"template":"","class_list":["post-11896216","topic","type-topic","status-publish","hentry","topic-tag-administrator","topic-tag-direct","topic-tag-greeting","topic-tag-htaccess","topic-tag-multisite","topic-tag-network","topic-tag-re","topic-tag-redirect"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11896216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11896216\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11896216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}