Title: Mutlisite stuff up
Last modified: August 20, 2016

---

# Mutlisite stuff up

 *  [LeeCarnegie](https://wordpress.org/support/users/leecarnegie/)
 * (@leecarnegie)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mutlisite-stuff-up/)
 * I stuffed my site and I don’t know what to do and it’s a big?
 * Let me take you back to when it all started. It started with adding [http://www.e-books.groovymail.info](http://www.e-books.groovymail.info)
   in my network admin area.
 * Theme: WP Premium Thunder for both [http://www.groovymail.info](http://www.groovymail.info)&
   e-books.groovymail.info
    Version: 3.2.1 WP blogs.dir permission: 755 (Wildcard
   DNS was set at the beginning by the host, I assume this as I didn’t do it and
   I have recognised this with *groovymail.info) Host Provider: Brain Host My tech
   knowledge novice. Days on WP support finding an answer: 4days
 * What I did after starting e-books.groovymail.info
    found that my images were 
   broken inside the WP CMS area and on the front page (at this stage network admin
   running fine and [http://www.groovymail.info](http://www.groovymail.info) running
   fine) Jumped on WP forums to find out what to do and found out that I needed 
   to the below:
 * 1) downloaded wp-htaccess.control plugin
 * 2) Access FTP root of the directory to change .htacess (I use the legacy folder)
 * 3) changed .htaccess code to:
    #BEGIN WordPress RewriteEngine On RewriteBase /
   RewriteRule ^index\.php$ – [L]
 * # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.
   php?file=$2 [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
 * 3) in the same area changed the wp.config.php
    define( ‘MULTISITE’, true ); define(‘
   SUBDOMAIN_INSTALL’, false ); $base = ‘/’; define( ‘DOMAIN_CURRENT_SITE’, ‘www.
   groovymail.info’ ); define( ‘PATH_CURRENT_SITE’, ‘/’ ); define( ‘SITE_ID_CURRENT_SITE’,
   1 ); define( ‘BLOG_ID_CURRENT_SITE’, 1 );
 * At this stage I check image permalinks are correct in the edit area of my sites
   in the Network admin and make sure that the permalinks are set correctly so that
   images are filed to correct URL in media gall: /files/2011/08/image name
    I check
   if saved in correct directory in ftp /wp.content/blog.dir/3/files/name of image(
   it’s a 3 because I have other sites) check MyPHP Admin area to see if this number
   3 is correct and is showing in my PHP Admin area.
 * Check if images working under
    [http://www.e-books.groovymail.info/wp.content/blogs.dir/3/files/name](http://www.e-books.groovymail.info/wp.content/blogs.dir/3/files/name)
   of image and shows up online. and it does
 * Check back in my Media Gallery and images are showing!
 * 4) I go to the site [http://www.e-books.groovymail.info](http://www.e-books.groovymail.info)
   and still broken images
 * 5) I decide to activate subdomain from CPanel (due to forum chat and I noticed
   that the wild card dns had been set and my .htacess kept defaulting to the subdomain.
   htaccess code inside my plugin of my wp CMS),
 * 6) Realise due to the above changes .htaccess code might be wrong and config 
   code wrong and change it back to the original file:
    # BEGIN WordPress <IfModule
   mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] 
   RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule./
   index.php [L] </IfModule>
 * # END WordPressRewriteCond %{HTTP_REFERER} !^http://*.groovymail.info/.*$ [NC]
 * 7) change the wp.config.php to:
    define( ‘MULTISITE’, ‘1’ ); define( ‘SUBDOMAIN_INSTALL’,‘
   1’ ); $base = ‘/’; define( ‘DOMAIN_CURRENT_SITE’, ‘www.groovymail.info’ ); define(‘
   PATH_CURRENT_SITE’, ‘/’ ); define( ‘SITE_ID_CURRENT_SITE’, 1 ); define( ‘BLOG_ID_CURRENT_SITE’,
   1 );
 * 8)Instantly can’t access front [http://www.e-books.groovymail.info](http://www.e-books.groovymail.info)
   site or the wp admin area. errors only returning (none)www.e-books.groovymail.
   info (however [http://www.groovymail.info](http://www.groovymail.info) running
   fine)
 * 9) delete that subdomain in CPanel
 * 10) check [http://www.e-books.groovymail.info](http://www.e-books.groovymail.info)
   is up and working again images still not showing but showing in media gallery
   and permalinks correct, file location correct, file in ftp correct.
 * 10) Edit PHPMyAdmin area due to [http://www.cesarserna.com/work/killed-my-blog-wordpress3/](http://www.cesarserna.com/work/killed-my-blog-wordpress3/)
   
   and followed instructions to the letter and stuffed both of my sites, no access
   to wp login areas no access to either website both returning an!
 * “error database connection”
 * 11) Tried to change everything back through the forums but ended up having to
   contact Brain host, host had to reset my database.
 * 12)This is when my main site [http://www.groovymail.info](http://www.groovymail.info)
   broken images on it’s slider, broken images on the it’s pages and can’t access
   Network Admin
 * – Main site: image filed in database wp-content/uploads/image name
    – Permalinks
   inside media gallery: /%Pagename%//2011/08/image name – Permalink in setting 
   set: /%Pagename%/ – /wp-admin/options-permalink.php: is showing: if ( is_multisite()&&!
   is_subdomain_install() && is_main_site() ) $blog_prefix = ‘/blog’; [which is 
   odd because then my permalinks in my settings should be showing blog/%Pagename%/–
   I have no access to Network Admin area to edit My Site as it’s probably because
   I have set Upload Path, file path with /%Pagename%/ – wp-admin/network is returning:
   The webpage at [http://www.groovymail.info/wp-admin/network/](http://www.groovymail.info/wp-admin/network/)
   has resulted in too many redirects. Clearing your cookies for this site or allowing
   third-party cookies may fix the problem. If not, it is possibly a server configuration
   issue and not a problem with your computer.
 * – Sliders broken image in wp cms and on front page
    – Images showing 2 thirds
   down my front page – Images broken on my actually pages in the site
 * 13) [http://www.e-books.groovmail.info](http://www.e-books.groovmail.info) images
   all broken, but 2 thirds down my front page images are broken but URL: e-books.
   groovymail.info/wp-content/blogs.dir/3/files/2011/08 and when you click on them
   to enlarge it appears?
    – Media Gallery images show up and file location correct:
   showing [http://www.e-books.groovymail.info/files/2011/08/image](http://www.e-books.groovymail.info/files/2011/08/image)
   name.
 * Currently My .htaccess is:
    #BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule
   ^index\.php$ – [L]
 * # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.
   php?file=$2 [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).*) $1 [L] RewriteRule
   ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L] RewriteRule . index.php [L] #END WordPress
 * My wp.config.php is:
    define (‘MULTISITE’, ‘true’); define (‘SUBDOMAIN_INSTALL’,‘
   false’); $base = ‘/’; define (‘DOMAIN_CURRENT_SITE’, ‘www.groovymail.info’); 
   define (‘PATH_CURRENT_SITE’, ‘/’); define (‘SITE_ID_CURRENT_SITE’, 1); define(‘
   BLOG_ID_CURRENT_SITE’, 1);
 * Please note: every time I make a change in the CPanel or WP admin area I logout,
   clear the cache,browsers and cookies and re-log back in, this a habit of mine.
 * Can anybody help?

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mutlisite-stuff-up/#post-2264463)
 * It looks like when your host restored your site, they broke it and blew away 
   the multisite parts.
 * The original problem – when the images were not shown on the subsite, was a HOST
   issues and they would have had to fix something o there end, nothing you can 
   access from cpanel.
 * All the mucking around afterwards was irrelevant and further jacked up everything
   else. When you have a problem, please stop and find ut what it is you have to
   do before trying something that may break something else entirely and wont fix
   it anyway.
 * Tell your host you made htaccess changes and they are not working. the htaccess
   file is correct; it’s their apache settings they need to change.
 *  Thread Starter [LeeCarnegie](https://wordpress.org/support/users/leecarnegie/)
 * (@leecarnegie)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mutlisite-stuff-up/#post-2264517)
 * Will do thanks
 *  Thread Starter [LeeCarnegie](https://wordpress.org/support/users/leecarnegie/)
 * (@leecarnegie)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mutlisite-stuff-up/#post-2264542)
 * So brain host tells me that the reason I don’t have my wp-admin/network
 * is because of :
 * The plugin “wordpress-multi-site-enabler-plugin-v10” has been misconfiguration
   due to which you are facing problem with [http://www.groovymail.info/wp-admin/network/](http://www.groovymail.info/wp-admin/network/)
 * In order to resolve this you will have to deactivate, delete the plugin and install
   it once again.
 * So of course I follow the advise that I don’t believe because I’ve never had 
   an issue before with this plugin and low and behold it still doesn’t work? can
   someone help? me get my wp-admin network back?
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mutlisite-stuff-up/#post-2264544)
 * Do not use that plugin.
 * Follow the actual (easy) steps to get the network back.
    [http://codex.wordpress.org/Create_A_Network](http://codex.wordpress.org/Create_A_Network)
 * Just put this back in wp-config:
 * `define('WP_ALLOW_MULTISITE', true);`
 * and also
 *     ```
       define ('MULTISITE', 'true');
       define ('SUBDOMAIN_INSTALL', 'false');
       $base = '/';
       define ('DOMAIN_CURRENT_SITE', 'www.groovymail.info');
       define ('PATH_CURRENT_SITE', '/');
       define ('SITE_ID_CURRENT_SITE', 1);
       define ('BLOG_ID_CURRENT_SITE', 1);
       ```
   
 * The images not being found is a *separate* issue and is host related – not related
   to any of the multisite config you did or what you messed up. Let’s get the network
   back first.
 *  Thread Starter [LeeCarnegie](https://wordpress.org/support/users/leecarnegie/)
 * (@leecarnegie)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mutlisite-stuff-up/#post-2264549)
 * I received a warning at the network setup area:
 * Warning: An existing WordPress network was detected.
    Please complete the configuration
   steps. To create a new network, you will need to empty or remove the network 
   database tables.
 * I checked: [http://codex.wordpress.org/Tools_Network_SubPanel](http://codex.wordpress.org/Tools_Network_SubPanel)
   to make sure that the instructions on the enable network page were correct and
   they were fine.
 * I proceeded with configuration steps config.php and .htacess. Logged out, cleared
   cookies, browser and cache relogged back in Network Admin appears clicked on 
   it still receiving an error redirect loop to many redirects please clear cookies,
   browser and cache?
 * Am going to have to clear my all my tables in PhPAdmin area? in order to get 
   my network back?
 * 🙁
 *  Thread Starter [LeeCarnegie](https://wordpress.org/support/users/leecarnegie/)
 * (@leecarnegie)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mutlisite-stuff-up/#post-2264552)
 * Your a star Andrea, thanks for your help. You were right I should not have used
   that plugin and re-installing from the start was what I should have done!
 * Even though I ended up getting a redirect loop after I had started again it was
   because of a coding glitch in wp-admin/network/admin.php file. I had to remove:
 * $redirect_network_admin_request = ( ( $current_blog->domain != $current_site-
   >domain ) || ( $current_blog->path != $current_site->path ) );
    $redirect_network_admin_request
   = apply_filters( ‘redirect_network_admin_request’, $redirect_network_admin_request);
   if ( $redirect_network_admin_request ) {
 * replace it with:
    if ( ! is_main_site() ) { wp_redirect( network_admin_url() );
   exit;
 * relog back in and it was there.
 * ok next step the image issue, the host provider advised that they have reset 
   the apache and that the .htacess rules should take now I hope.
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mutlisite-stuff-up/#post-2264553)
 * You know if you edit core files they will be changed on upgrade right?

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Mutlisite stuff up’ is closed to new replies.

## Tags

 * [installation](https://wordpress.org/support/topic-tag/installation/)
 * [Miscellaneous](https://wordpress.org/support/topic-tag/miscellaneous/)
 * [multisite](https://wordpress.org/support/topic-tag/multisite/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 7 replies
 * 2 participants
 * Last reply from: [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/mutlisite-stuff-up/#post-2264553)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
