Solution: Including product tags in FacetWP x WooCommerce search results

Problem A shop using WooCommerce & FacetWP search. I want to search keyword (example) sunset. But only products with sunset word in product title showing in the results. I want the products with tag sunset also displaying in the results. Solution Use plugin: Relevanssi Search Relevanssi FacetWP add-on Setup Relevanssi Navigate Admin > Settings >… Continue reading Solution: Including product tags in FacetWP x WooCommerce search results

Database grow

After 1 year 2 months running, my website is growing fast. I’ve done a WP-CLI search-replace command today and got this result: That is an impressive number for me. So I write it here to make a milestone.

Categorized as Thoughts

How to remove .w3-cache malware from WordPress website

My website has been infected by a malware that spamming my traffic. This is what was happened to my website: Traffic from France with Agent named contains Bandwidth is up to 1.7 GB a day Some weird folders have been appeared automatically like: wp-content/uploads/.w3-cache Malware code has been added to wp-config.php, wp-content/themes/current-themes/index.php Actions Follow… Continue reading How to remove .w3-cache malware from WordPress website

Setup letsencrypt with Laradock

in docker-compose.yml set $CN and $EMAIL with your data: in docker-compose.yml add the volumes used in certbot: Make sure port 443 is disabled in your laradock/nginx/sites/xxx.conf stop nginx container docker-compose stop nginx rebuild nginx container with –no-cache option docker-compose build –no-cache nginx build certbot container docker-compose build –no-cache certbot start nginx container docker-compose up -d… Continue reading Setup letsencrypt with Laradock

TIL 1: Laradock, mantra, PA

Mantra is the first thing that I need to do in the morning. Focus on what makes you happy at this moment. 4 hours of deep working session. It took 567 seconds to get Laradock running for the first time. It took 35 minutes to get PA up and running on a new development machine.… Continue reading TIL 1: Laradock, mantra, PA

Categorized as TIL

Use yarn with docker

Use yarn up instead of docker-compose up -d Use yarn down instead of docker-compose down Use yarn bash instead of docker-compose exec workspace bash

Categorized as Hair Saver