WP Smush Pro là một trong những plugin tốt nhất để tối ưu và nén hình ảnh trên WordPress được phát triển bởi WP-MUDEV. Bình thường thì Wp Smush Pro không miễn phí cho chúng ta dùng, nhưng hôm này mình sẽ chia sẽ cho các bạn cách có thể kích hoạt plugin này lên bản pro hoàn toàn..
Read moreAdd nginx conf location /cors4all/ { client_max_body_size 10m; client_body_buffer_size 128k; proxy_send_timeout 90; proxy_read_timeout 90; proxy_buffer_size 128k; proxy_buffers 4 256k; proxy_busy_buffers_size 256k; proxy_temp_file_write_size 256k; proxy_connect_timeout 30s; proxy_pass http://127.0.0.1:8080/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection “upgrade”; proxy_http_version 1.1; proxy_cache_bypass $http_upgrade; }
Read moreInstall the Distro-Stable Version of Node.js with YUM In order to download this version, we will use the yum package manager. Update your yum packages: sudo yum update Install Node.js: sudo yum install nodejs Verify the current version of Node.js: node –version Install npm (Node Package Manager): sudo yum install npm Install Node.js using NVM Instead of using yum, you can install..
Read moreInstall PM2 Now we will install PM2, which is a process manager for Node.js applications. PM2 provides an easy way to manage and daemonize applications (run them as a service). We will use Node Packaged Modules (NPM), which is basically a package manager for Node modules that installs with Node.js, to install PM2 on our app server…
Read moreCSS .ppocta-ft-fix { display: inline-grid; position: fixed; bottom: 40%; right: 30px; min-width: 36px; text-align: center; z-index: 99999; } @media (max-width: 768px) { .ppocta-ft-fix { bottom; 5%; } } #messengerButton { display: inline-block; position: relative; width: 36px; height: 36px; line-height: 36px; border-radius: 100%; box-shadow: 0px 0px 10px -2px rgba(0,0,0,0.7); background: #1CB2ED url(http://kizashop.com/wp-content/themes/shopera-child/images/m-fb.png) center center no-repeat; margin-bottom:..
Read moreWordFence là gì Wordfence là một plugin bảo mật WordFence. Và nó là plugin rất phổ biến. 2 triệu lượt cài đặt đã nói lên điều đó. Vậy plugin này có tính năng gì hay ho? Như là plugin bảo mật, đương nhiên nó sẽ giúp bảo vệ website của bạn trước các mối đe..
Read moreCài đặt Certbot Cách dễ dàng để cài đặt chứng chỉ Let’s Encrypt trên VPS là sử dụng Certbot Client. Trên CentOS 7, Certbot có sẵn ở EPEL Repository. Bạn chỉ cần enable lên với câu lệnh sau: 1 rpm –ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm Ubuntu bạn cần cấu hình Certbot PPA với câu lệnh sau: 1 2 3..
Read moreBước 1: Tạo cơ sở dữ liệu Đăng nhập Maria DB với user root: 1 mysql –u root –p Tạo một cơ sở dữ liệu wordpress: 1 CREATE DATABASE wordpress; Tạo user: 1 CREATE USER ‘wpuser’@‘localhost’ IDENTIFIED BY ‘wppassword’; Cấp quyền cho user: 1 2 3 GRANT ALL PRIVILEGES ON wordpress.* TO ‘wpuser’@‘localhost’ IDENTIFIED BY..
Read moreGuide này nhằm giúp các System Admin nhận ra được rằng mình “misconfiguration” ở đâu khiến hệ thống bị lộ real IP khiến các kẻ tấn công DDoS dễ dàng tấn công hệ thống mà bỏ qua các lớp CDN bảo vệ. Đầu tiên ta cần phải biết danh sách IP của cloudflare (CloudFlare IP)..
Read moreTổng quan hệ thống Mọi lời nói không thể thay thế bằng hình ảnh rõ ràng được :) Tiki sử dụng Magento version 1.x Source code Magento sẽ được deploy lên 4 server web app, server Media và request sẽ được load balance qua 4 server này Database sử dụng là Percona MySQL được cấu..
Read moreEasyEngine là gì? EasyEngine là một *UNIX script dành cho hệ điều hành Ubuntu/Debian giúp bạn tự động cài đặt một webserver sử dụng NGINX và PHP-FPM hoàn chỉnh phục vụ riêng cho WordPress. Điều này có nghĩa là nó sẽ tự tối ưu hóa cho NGINX để làm việc với WordPress tốt nhất. Bởi vì chúng ta..
Read moreỨNG DỤNG CỦA WORDPRESS MULTISITE Hầu hết nếu chúng ta có nhu cầu tạo ra một mạng lưới nhiều website liên kết với nhau trên cùng một máy chủ thì có thể sử dụng WordPress Multisite. Chúng ta có thể sử dụng WordPress Multisite để tạo nhiều trang con trong một mạng lưới như vậy,..
Read moreNói theo cách dễ hiểu, Rich Snippets là đoạn thông tin đặc biệt dùng để hiển thị các thông tin thêm có trong những bài viết đặc biệt (bài đánh giá, sản phẩm, ứng dụng, công thức nấu ăn, địa chỉ công ty..v.v..) trên các máy tìm kiếm (Google, Yahoo, Bing) nhằm cung cấp thêm những thông..
Read more
WinNMP – Config
How to send emails using PHP WinNMP has 2 options for processing emails sent by PHP’s mail() function: mSmtp and mailToDisk (default). To change the option, edit confphp.ini and modify sendmail_path: For Development use mailToDisk (the default): sendmail_path = ‘”C:/WinNMP/bin/php” -n -f “C:/WinNMP/include/tools/mailtodisk.php”‘ Emails will be saved to logmail-XX.txt For Production use mSmtp: sendmail_path = ‘”C:/WinNMP/bin/msmtp/msmtp.exe” -C “C:/WinNMP/conf/msmtp.ini” -t’ You also need to edit confmsmtp.ini in order to configure SMTP server options How..
Read more