Portfolio
htaccess

WinNMP – Config

February 27, 2018Category : Code/Web IT & Network

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
01.

[WordPress] Hướng dẫn cài đặt và sử dụng plugin WordFence

October 9, 2017Category : Code/Web

WordFence 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 more
02.

Cài đặt WordPress trong web server OpenLiteSpeed

October 9, 2017Category : Code/Web IT & Network

Bướ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 more
03.

[wordpress] Hướng dẫn cài đặt wp MULTISITE

September 18, 2017Category : Code/Web

Ứ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 more
04.

Redirect url with browser lang – htaccess

April 20, 2017Category : Code/Web

Add to htaccess RewriteEngine on RewriteCond %{HTTP:Accept-Language} (aa|ab|af|am|ar|as|ay|az|ba|be|bg|bh|bi|bn|bo|br|ca|co|cs|cy|da|de|dz|el|en|eo|es|et|eu|fa|fi|fj|fo|fr|fy|ga|gd|gl|gn|gu|ha|hi|hr|hu|hy|ia|ie|ik|in|is|it|iw|ja|ji|jw|ka|kk|kl|km|kn|ko|ks|ku|ky|la|ln|lo|lt|lv|mg|mi|mk|ml|mn|mo|mr|ms|mt|my|na|ne|nl|no|oc|om|or|pa|pl|ps|pt|qu|rm|rn|ro|ru|rw|sa|sd|sg|sh|si|sk|sl|sm|sn|so|sq|sr|ss|st|su|sv|sw|ta|te|tg|th|ti|tk|tl|tn|to|tr|ts|tt|tw|uk|ur|uz|vo|wo|xh|yo|zh|zu) [NC] RewriteRule .* google.com [L]        

Read more
05.

Hướng dẫn thay đổi tên miền giữ nguyên Rank

August 1, 2016Category : Code/Web

Nhiều bạn có liên hệ hỏi mình về sự ảnh hưởng từ khóa trên kết quả tìm kiếm Google, tất nhiên là bị ảnh hưởng chứ, rất nhiều là đằng khác. Thời gian đầu mình chứng kiến nhiều từ khóa mất top, thậm chí không còn xuất hiện trên Google nữa. Nhưng sau khoảng thời..

Read more
07.

[WP] W3 Total Cache settings with Cloudflare GUIDE

October 12, 2015Category : Code/Web

W3 Total cache is a WordPress Performance Optimization framework that is designed to improve user experience and page speed.  It is recommended by many web hosting providers, and used by countless major websites such as mashable.com as well as many others. W3TC  improves the user experience of your site by increasing web server performance by reducing..

Read more
09.

[magento] Tăng tốc độ cho magento

August 30, 2013Category : Code/Web

Một trong những nhược điểm của Magento là tốc độ nếu cấu hình mặc định được sử dụng. Có nhiều cách nhất định làm cho nó chạy nhanh hơn. Với tôi thì tôi thết tốt nhất là để cho phép nén Gzip bằng cách thay đổi. Htaccess một chút. Bạn chỉ cần bỏ ghi chú..

Read more
011.

Bảo mật chống local với .htaccess

June 9, 2008Category : IT & Network

Tạo 1 file .htaccesss với nội dung sau và chèn vào các folder bạn muốn thường thì sẽ cho vào các folder để giao diện hoặc upload. Config tùy theo cách của bạn <Files ~ “^.*\.(php|cgi|pl|php3|php4|php5|php6|phtml|shtml)”> Order allow,deny Deny from all </Files> order allow,deny <Files ~ “\.(php.xxx|asp|php|sphp|php3|php4|php5|phtml|cgi|pl|shtml|dhtml|js|txt|htaccess|exe|dat|html)$”> deny from all </files> <files index.php> ( các..

Read more
012.
© Oliver / All rights reserved.
To top