WP Multisite Sub-domain to Sub-directory
-
I setup WP Multisite after it merged into WP 3.0. Originally it was setup as a sub domain network. Is there a way that I can change it the sub directory version without reinstalling or clearing databases?
-
Thank you.
I followed those directions, and I can now create sites, however when I visit the dashboard of that site, I can not create posts or pages.
Additionally, I get an error from the NextGen Gallery when attempting to “Upgrade the database tables”
Could not find NextGEN Gallery database tables, upgrade failed !
TIA
If you made any subsites, you WILL have to either get rid of them or go in the database and fix them.
i created new sites after the above change to the sub-directory format
I should also mention that I do have the updated .htaccess
#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
and the hosting server has mod_rewrite all on.
Additionally, I get an error from the NextGen Gallery when attempting to “Upgrade the database tables”
There are probably settings in that plugin that are pointing to the subdomain then. You’ll need to scour them.
There are probably settings in that plugin that are pointing to the subdomain then. You’ll need to scour them.
that would be plugin specific. would this also cause all new sites to not be able to create new pages or posts and show the “page cannot be found”?
if it’s any help, here’s a quick screenshot of what i’m experiencing: http://screenr.com/4xa
Well I was only addressing the NextGen stuff in that so .. yeah, plugin specific 🙂 That’s why I quoted exactly what I was replying to.
Check the database. Are the tables for wp_2_* there?
Also, check the DB permissions to make sure they’re okay. You should have full access to everything.
Sorry, i responded before my morning coffee. 😛
No, I don’t have any wp_2 tables in my database. What’s the best way to create them to get it all working?
**EDIT** i do have several wp_7_* tables in the database. would it be as simple as renaming them to wp_2_* ?
Interesting. Do you have any wp_#_ tables? Where # is the same as your blog number for factquest?
**EDIT** i do have several wp_7_* tables in the database. would it be as simple as renaming them to wp_2_* ?
the main site was developed on a different server and uses the MyISAM MySQL engine…the multisite was setup after the site migrated to a new server. the wp_#_tables are using the InnoDB MySQL engine….would this be causing any problems?
No no! DO NOT rename them 😀
But.
The MyISAM/InnoDB thing is curious. I’m not excellent enough at DB stuff yet but it SHOULD all be … well mine is all MyISAM. That’s entirely plausible to me.
resolved! it was a mysql server issue found here: http://blog.assarbad.net/20110306/more-issues-with-mariadb/
The topic ‘WP Multisite Sub-domain to Sub-directory’ is closed to new replies.