bennypan
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] The page displays abnormally when not logged inMaybe caching also adds some confusion. 🙂
Forum: Plugins
In reply to: [LiteSpeed Cache] The page displays abnormally when not logged inI apologize.
Following your reminder, I continued debugging and finally identified the issue, and fixed it.
I am using the WoodMart theme and have created a child theme containing a PHP file named ‘woocommerce.php,’ which implements some custom hooks for WooCommerce.
Normally, when visiting the shop page, the ‘archive-product.php’ file should be loaded from the WoodMart theme directory. However, in this case, the ‘woocommerce.php’ file was being loaded by the WoodMart theme, leading to the absence of HTML content.
So, I changed the name of the ‘woocommerce.php’ file’s to something else, and now it’s working fine.Thank you again for your assistance.
Forum: Plugins
In reply to: [LiteSpeed Cache] The page displays abnormally when not logged inI have added this filter to the theme’s functions.php file and purge all, but there’s been no improvement
Forum: Plugins
In reply to: [LiteSpeed Cache] The page displays abnormally when not logged inBut now, the shop page is blank when I change QUIC CDN to basic.
Can you please try it again?Forum: Plugins
In reply to: [LiteSpeed Cache] The page displays abnormally when not logged inThe normal display of the shop page is probably related to the CDN traffic being disabled due to excessive traffic.
Forum: Plugins
In reply to: [LiteSpeed Cache] The page displays abnormally when not logged inthanks for your answer!
I disabled Page Optm’s Generate UCSS and UCSS Inline, and the homepage problem is displayed normally.
I now test the shop page and it seems to be normal. I need to test this a few more times in different locations.Forum: Plugins
In reply to: [LiteSpeed Cache] Guest Mode failed to testThanks for the reminder,
I modified the .htaccess file in ./wp-content/ ,now I can access guest.vary.php and Guest Mode testing result: Guest Mode passed testing
Thanks again!
- This reply was modified 2 years, 7 months ago by bennypan.
Forum: Plugins
In reply to: [LiteSpeed Cache] Guest Mode failed to testThank qtwrk for your prompt reply!
.htaccess in ./wp-content/:
<FilesMatch ".(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|suspected)$"> Order allow,deny Deny from all </FilesMatch> <FilesMatch "^(index.php|credits.php|customize.php|edit-comments.php|edit-tags.php|edit.php|checkbox.php|export.php|input.php|link.php|load-scripts.php|load-styles.php|dropdown.php|menu.php|nav-menus.php|network.php|options-discussion.php|options-general.php|options-permalink.php|options-privacy.php|options-reading.php|options-writing.php|plugins.php|post-new.php|post.php|privacy.php|profile.php|site-health.php|term.php|text.php|themes.php|tools.php|update-core.php|user-edit.php|user-new.php|users.php|wp-links.php|wp-login.php|wp-signup.php)$"> Order allow,deny Allow from all </FilesMatch> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] </IfModule>There is no .htaccess file in the /wp-content/plugins/
Forum: Plugins
In reply to: [LiteSpeed Cache] Guest Mode failed to testI detailed the problem description and added the Report number.
guest.vary.php is definitely in the litespeed-cache directory, and I have deleted the security plugin:aiowps. However, when accessing guest.vary.php, 404 is still returned.