Liew Cheon-Fong
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: search alternativesthis snippet will exclude media files from search result pages.
// Exclude images from search results - WordPress add_action( 'init', 'exclude_images_from_search_results' ); function exclude_images_from_search_results() { global $wp_post_types; $wp_post_types['attachment']->exclude_from_search = true; }source: https://presscustomizr.com/snippet/exclude-images-attachments-search-results/
Forum: Fixing WordPress
In reply to: Slug Issueonly when the slug is “contact-us” then it start looping itself? What if the slug is something else like “contact-me”, does it looping too?
Forum: Fixing WordPress
In reply to: WP Cron not workingnot sure what do you mean by “too slow to cache all pages in WP Rocket”. WP Rocket does not use cron to cache pages. It only add cronjob to clear cache.
Forum: Fixing WordPress
In reply to: WordPress Wp-admin panel redirect in home page1. disable the security plugins
2. if it solves the issue then enable only 1 of the security pluginForum: Fixing WordPress
In reply to: Add more languages to an existing siteInstall a multilingual plugin
Forum: Networking WordPress
In reply to: Error 500 and then 404this is a MultiSite question, correct?
try disable and clear all caches
Forum: Fixing WordPress
In reply to: How to customize the default catalog pagelooks like you are using a premium theme. have you contacted the theme support?
Forum: Fixing WordPress
In reply to: TTFB and Caching issuesYes, “Cache Everything” does not work with WooCommerce (or any ecommerce website) because it caches things that should not be cache too (user’s cart)
You need Cloudflare Business plan (USD200/month) to bypass cache on cookies while still have “Cache Everything”
Try a WordPress caching plugin that supports WooCommerce https://docs.woocommerce.com/document/configuring-caching-plugins/
Forum: Fixing WordPress
In reply to: Issue with menutry to clear all cache
Forum: Fixing WordPress
In reply to: Issue with php version 7.2 in running searchLooks like your WordPress theme is not fully support PHP 7.2. The increased CPU usage is probably caused by the PHP errors in the theme when it is loaded by PHP 7.2. Have you checked with the theme author?
Forum: Fixing WordPress
In reply to: Unwanted Archives created by permalink settingDid you mean you want to change the permalink structure? You can do it in WP admin dashboard > Settings > Permalinks. You may want to install redirection plugin to redirect old links to new links
normally it is due to the browser cookies or firewall or security rules.
maybe you want to show us “that one post” URL for troubleshooting?
Forum: Plugins
In reply to: [Query Monitor] “Queries by component” removed?Hi John,
Thanks for reply. I only see Queries by Caller but not Queries by Component (screenshot)
Version 3.3.7 installed
Forum: Fixing WordPress
In reply to: Video image for galleryif you want to link image to video then update the link url to the video address
<a href="https://link-to-your-video"><img src="yourimage.jpg" /></a>