VM安裝LAMP+WordPress筆記
用hyper-V安裝CentOS
之後須安裝Linux Integration Services Version 3.4 for Hyper-V
但"聽說"hyper-V效能不是很好,所以我這裡用VMware來安裝CentOS6
用hyper-V安裝CentOS
之後須安裝Linux Integration Services Version 3.4 for Hyper-V
但"聽說"hyper-V效能不是很好,所以我這裡用VMware來安裝CentOS6
想要讓使用者瀏覽你的網頁更快,除了平常優化外,可以試試Gzip網頁壓縮。
編輯httpd.conf,將#去掉
LoadModule headers_module modules/mod_deflate.so
LoadModule filter_module modules/mod_filter.so
LoadModule headers_module modules/mod_headers.so
事件內容:
Event filter with query "SELECT * FROM __InstanceModificationEvent WITHIN 60 WHERE TargetInstance ISA "Win32_Processor" AND TargetInstance.LoadPercentage > 99" could not be reactivated in namespace "//./root/CIMV2" because of error 0x80041003. Events cannot be delivered through this filter until the problem is corrected.
解決方式:
進入phpMyAdmin的wp資料庫,並點選「SQL」
update wp_posts set post_content = replace( post_content, '原本的內容', '新的內容' )
按"執行"
找尋資料表關鍵字:
1 2 3 | SELECT * FROM `wp_posts` WHERE `post_content` LIKE '%http://xxx.com%' |
更新guid欄位內容:
1 | UPDATE wp_posts SET guid = replace( guid, 'http://xxx.com', 'http://www.xxx.com.tw' ) |
更新post_content欄位內容:
1 | UPDATE wp_posts SET post_content = replace( post_content, 'http://xxx.com', 'http://www.xxx.com.tw' ) |
在httpd.conf中
開啟對應的mod_rewrite模塊:
把:
#LoadModule rewrite_module modules/mod_rewrite.so
改為:
LoadModule rewrite_module modules/mod_rewrite.so
幾個星期前,雅虎改變了DMARC(Domain-based Message Authentication, Reporting & Conformance)政策阻止欺詐性電子郵件
開始拒絕電子郵件不是從非雅虎的服務器發送
在Facebook內容上充斥著眾多的短網址,最常看到的就屬goo.gl/開頭的了
閱讀更多