When I tried multisite operation with wordpress,
The existing site has been affected.
You can't undo it cannot be undone.
Could someone tell me how to solve this problem?
■Environment
wordpress ver:3.5.1
Server First Server
■ Impact on existing sites
·Posted articles are not displayed
·Fixed page is not displayed
·The part created in the MWWP Form is not displayed
■ Work done
①Disable all plug-ins
②Update wp-config.php (/ssl/wordpress/) with the following:
define('WP_ALLOW_MULTISITE', true);
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'a-mics.com');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE',1);
define('BLOG_ID_CURRENT_SITE',1);
3. Update htaccess (/ssl/) to the following
#BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
RewriteRule^index\.php$ - [L]
US>RewriteCon%{REQUEST_FILENAME}!-f
RewriteCon%{REQUEST_FILENAME}!-d
RewriteRule./index.php [L]
</IfModule>
# END WordPress
RewriteEngine On
RewriteBase/
RewriteRule^index\.php$ - [L]
# add a tracking flash to /wp-admin
RewriteRule^wp-admin$wp-admin/[R=301,L]
RewriteCond%{REQUEST_FILENAME}-f[OR]
RewriteCon%{REQUEST_FILENAME}-d
RewriteRule^ - [L]
RewriteRule^(wp-(content|admin|includes).*)wordpress/$1[L]
RewriteRule^(.*\.php)$wordpress/$1[L]
RewriteRule.index.php [L]
プラグ Disable all plug-ins
⑤US>Administration Screen Re-login
⑥Enable all plug-ins
I worked with reference to the following article.
http://webdesignerwork.jp/wordpress/multisite_blog/
I have now undone wp-config.php, .htaccess, but
The impact on existing sites remains the same.
What are the possible ways to restore it to its original state?
Thank you for your cooperation.
wordpress
DB is alive, right?
I don't know what I did, but
Why don't you take the DB dump, put it back in WP, and then restore the DB?
As far as I can see, I'm just messing with WP settings and permissions in the directory under my control.
Wouldn't it be possible to return if I re-insert the WP and insert the data?
Please make sure to back up before working on the above.
Please manually re-insert the image and plug-in.
In addition,
rather than going through multisite and involving a live site,
I think it's better to create a temporary environment and verify it before going...it's too late now...
© 2024 OneMinuteCode. All rights reserved.