longnha
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Break LiteSpeed Cache SettingsEDIT: I’m no longer seeing error.
I update it via Plugin page, click “update now” button.
I download the new version and upload it via FPT, it does fix the issue somehow but still, some strange behavior happen, example:
1. I clicked on a tab: /wp-admin/options-general.php?page=lscache-settings#excludes
It display the tab’s content, then a second later, the page seem refresh itself and display: “Sorry, you are not allowed to access this page.”
2. I click “Back”, it show tab’s content as normal.
I did clear cloudflare cache but it still the same.
Thanks.
- This reply was modified 9 years ago by longnha.
Forum: Plugins
In reply to: [LiteSpeed Cache] Break LiteSpeed Cache SettingsForum: Plugins
In reply to: [Plugin Load Filter] Filter per categoryIf the plugin can be filter based on post type, then it would be great too. 🙂
Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Solr search templateThank you. Glad that there have trial, I will give it a test then.
Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Solr search templateHello,
Thank you for the info.
Actually, what I want that is use the default search template of my theme instead of plugin template. Is that possible?
Also, can I use Taxonomy for Facet? I cannot taxonomy show up anywhere in the plugin setting.
Thank you.
Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] PHP7 and Litespeed compatibilityHello,
Thank you. I was able to get Solr installed.
But when try to config the plugin, I got error: “Solr HTTP error: HTTP request failed, SSL connect error (0)”
Would you be familiar or have more info on the error?
Also, the plugin UI seem to be broken, please see the image: http://imgur.com/a/W7OVI
Thank you.
Forum: Plugins
In reply to: [LiteSpeed Cache] No cache-control on cached pageHi Kevin,
I use Sucuri for security and it also offer CDN along with caching service, the cache is full-page and it use site-header cache-control to know when to update the cache.
Under sucuri layer, is Litespeed server with Litespeed cache, as litespeed cache does not have cache-control which tell sucuri when to update, the end users will not be updated.
Could it be something handled by Litespeed cache?
Thank you.
Forum: Plugins
In reply to: WP Missed Schedule removed from official repo?wondering the same thing, anyone has info? Is this still safe to use? It’s available on github now.
Thanks.
Forum: Fixing WordPress
In reply to: Reading: Latest Modified Posts FirstSeem like there have a conflict! I’ve many scheduled posts, when a scheduled post is published, it no longer display at top because the code check ‘modified date’ of scheduled post, not ‘publish date’
Is there a way for ‘latest modified’ and ‘latest post’ to work together?
Thank you.
- This reply was modified 9 years, 6 months ago by longnha.
Forum: Fixing WordPress
In reply to: Reading: Latest Modified Posts FirstMy apologize, I removed !is_admin it to test and forgot to add it back. Updated code:
add_action( 'pre_get_posts', 'alter_query_to_show_modified_post_first' ); function alter_query_to_show_modified_post_first( $query ) { if(!is_admin() && $query->is_main_query() ) { $query->set( 'orderby', 'modified' ); } }Thank @simplerthansimplest
Forum: Fixing WordPress
In reply to: Reading: Latest Modified Posts FirstWonderful, it works. Thank you very much.
A bit need to change for anyone who need it.
add_action( 'pre_get_posts', 'alter_query_to_show_modified_post_first' ); function alter_query_to_show_modified_post_first( $query ) { if($query->is_main_query() ) { $query->set( 'orderby', 'modified' ); } }Forum: Fixing WordPress
In reply to: Removing Propeller AdsCaching plugin? Try to clear the cache, browser cache too. Hope it work.
Forum: Plugins
In reply to: [LiteSpeed Cache] Cache clear cause high server loadHello,
Yes, I edit the file and add the line. Where can I check the error log please?
Thanks.
Forum: Plugins
In reply to: [LiteSpeed Cache] Cache clear cause high server loadAlso, each time the issue happen, I notice the homepage response header:
vary:Accept-Encoding
x-litespeed-cache-control:public,max-age=1800
x-litespeed-tag:B1_F,B1_It different with normal status:
server:LiteSpeed
status:200
vary:Accept-Encoding
x-litespeed-cache:hitThank you.
Forum: Plugins
In reply to: [LiteSpeed Cache] Cache clear cause high server loadHi Kevin,
Purge rule: http://imgur.com/a/tgySK
Active cron via phpadmin: http://imgur.com/yTtDKuG
Thanks.