How to do complete uninstall for multisite?
-
What do I have to do to completely uninstall LScache plugin on multisite ?
Do I need to revert to original images for each site in a multisite?
How do I revert page optimizations? Do I need to do it for each site in a multisite?
How do I remove LScache database entries?
-
yes , you may need to revert image on each sites
page optm is on-the-fly , once you disable plugin , it will be page’s original status
there will be few tables name starts as
wp_litespeed_and some rows in wp_options , starts with namelitespeed., you can manually delete themand after all , may I know any reason why you’d uninstall it ? your feedback would help us improve the product π
How to disable LScache in a multisite?
Network deactivation of LScache does not deactivate LScache on individual websites. All User Interface still works on all multisite websites after “network deactivate”.
Complete deactivation is needed to debug plugin conflicts, but there seems no way of achieving it.
It would be helpful if we can completely (and conveniently) disable/re-enable LScache on a single site within multisite.
When LScache is DELETED it should (optionally?) remove all LScache traces from the database. Leaving junk behind is not a good programming practice.
Tom
if just for debug as disabling the plugin, you can just add
define('LSCWP_V', '6.5.4');to wp-config.php next line after
<?php, as at very begining of plugin file , it will doif (defined('LSCWP_V')) {
return;
}so if you define this constant before plugin does , it will stop further initialization
if you don’t activate it netowrk , then you can enable/disable it per site basis
yes , we will add fix in future version to remove the left-overs
I do not understand steps required to enable/disable LScache on “per site basis” (using your language).
Does the constant need to be defined in wp-config.php ? Network deactivate? What to do at each site of the multisite?
Would deleting the plugin be simpler ? What are drawbacks of deleting the plugin?
-
This reply was modified 1 year, 3 months ago by
mountbest.
when you do not network-enable plugin , you can enable/disbale the plugin per site
yes, the constant is to be added into wp-config.php , that will stopped plugin from loading at all sites
delete is also one way out , I don’t think there will be any drawback
your instructions are confusing. Can you please clarify:
- what is required to disable LScache at ONE site of a multisite. Does the constant need to be defined in wp-config.php ? Network deactivate? BOTH? Specifically WHAT do I need to do at this ONE site do disable LScache?
- Does the constant defined in wp-config.php totally disable LScache for ALL sites of a multisite? Is there a need for network deactivate? Or network activate/deactivate settings become irrelevant?
Thank you for your help
Litespeed plugin and its page/image optimization is almost impossible to disable on a multisite and I found it a true menace. Network-deactivating this plugin in “WP plugins interface” does nothing. Moreover, WP refuses to delete the Litespeed cache plugin after network deactivation, saying that it is active at the main site of a multisite β with no way to deactivate it there.
I had to go to File Manager and rename all Litespeed folders. Only then WP deactivated the Litespeed plugin as invalid and offered an option to delete it.
From what I see, the Litespeed plugin scrambles web pages and hinders normal functioning of a website.
Removing Litespeed plugin and its “optimizations” did not slow my websites. Pagespeed..web performance score without Litespeed is still well above 90%
Exported static version of any website is smaller and faster without the Litespeed mess.
Any WP plugin should offer Users an easy way for its COMPLETE deactivation. Without complete deactivation option – any plugin is a menace and an example of super-bad programming practice.
Thank you for your help.
for netowrk , there are 2 things
- if you enable it network , then it will be enbled at all sites
- if you do not enable it in netowrk , then you can enable or disable it at each site.
if you enabled it in netowrk , then it will be activated in all sub sites and can NOT be disabled per site basis through wp-admin area, but you can add code , subdomain network:
if (isset($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST'] === 'sub1.domain.com') {
define('LSCWP_V', '6.5.4');
}replace
sub1.domain.comto your actual onefor sub-directory network:
if (isset($_SERVER['REQUEST_URI']) && strpos($_SERVER['REQUEST_URI'], '/sub1/') === 0) {
define('LSCWP_V', '6.5.4');
}replace
/sub1/to your actual sub-dir site nameor alternatively , do not enable it in network , but enable it at each sub site , this way you can enable or disable it at each site, but some option only appears in network-plugin page, so it is better to enable it in network.
- where in WP interface can I enable or disable it at each site? Litespeed settings?
- where do I need to add code that you listed above?
no , just in the wp-admin -> plugins
in wp-config.php , next line after
<?phpIt would be nice if there is once central place in Litespeed installation, where User can completely disable/re-enable the plugin for whole multisite and/or for each domain in multisite.
Also missing is the STATUS indicator for images: which set is user chosen: optimized or original?
A CENTRAL place to revert to original images for all domains in a multisite would be very useful.
At the moment the process of disabling/re-enabling Litespeed plugin for multisite is confusing.
Litespeed plugin scrambles html pages and some combinations of its settings scramble some websites.
It is VERY IMPORTANT to be able to revert website to original non-optimized state for debugging purposes.
thanks for the feedback , I will forward the suggestion to our devs
-
This reply was modified 1 year, 3 months ago by
The topic ‘How to do complete uninstall for multisite?’ is closed to new replies.