I installed WordPress with MultiSite Support on a directory:
http://www.servername.de/wordpress
There’s your problem. You can’t do that.
Move WordPress from /wordpress to just http://www.servername.de/
Thread Starter
ddjjmm
(@ddjjmm)
How can this be done correctly?
What files / databases will I have to edit exactly?
Thread Starter
ddjjmm
(@ddjjmm)
In the wp-config.php I have the following entries:
PHP Code:
define ('MULTI-SITE', true);
define ('SUBDOMAIN_INSTALL', false);
$ Base = '/ dev / wordpress /';
define ('DOMAIN_CURRENT_SITE', 'name.server4you.de');
define ('PATH_CURRENT_SITE', '/ dev / wordpress /');
define ('SITE_ID_CURRENT_SITE', 1);
define ('BLOG_ID_CURRENT_SITE', 1);
, and my dev / wordpress / .htaccess looks like this:
PHP Code:
RewriteEngine On
RewriteBase / dev / blog /
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]
Database entries, I’d have to modify in the following Dabell by hand:
DEVwp_postmeta
DEVwp_site
DEVwp_options
DEVwp_blogs
DEVwp_usermeta
Since I’ve at least found a direct URL entries.
And Moving WordPress Multisite which is, alas, more complicated π
Thread Starter
ddjjmm
(@ddjjmm)
Yeah and that’s the big problem! π
Seem to me that the only way to get worpdress working on the “LIVE URL” is to setup a new multisite system and integrating the old one?
Think that will be very hard too?!
Backup and Importing the old stuff would lead into similar problems?
If you edit the files, move everything, and then search the database for /foldername/ (whatever / dev / wordpress / really is), you SHOULD be able to just change that to / and be okay, but make backups first!
Seem to me that the only way to get worpdress working on the “LIVE URL” is to setup a new multisite system and integrating the old one?
No, not necessarily.
In *your* case, since the original install is off in a subfolde,r then yes.
But it is not true for everyone.