19 Feb
Author: Eric // Category:
WordPressWordPress 出現 Fatal error: Maximum execution time of 30 seconds exceeded 是因為主機對程式的執行時間作了限制,解決方法如下 :
// 擇一使用即可,依不可行性排序
01. 自己的主機 or 虛擬主機且可以修改 php.ini
a. 修改 php.ini 裡 max_execution_time 的數值,重新啟動 Server
b. .htaccess 加上 php_value max_input_time 300
c. wp-config.php 加上 set_time_limit( 300 );
02. 虛擬主機 : 不可以修改 php.ini
a. .htaccess 加上 php_value max_execution_time 300
b. wp-config.php 加上 set_time_limit( 300 );
// 如果主機有安裝 suPHP
.htaccess file 的 php_value max_execution_time 300 改成 max_execution_time = 300
Ref :
01. PHP Runtime Configuration
02. PHP set_time_limit ( int $seconds )
05 Feb
Author: Eric // Category:
Free Teaching00. 修改 WordPress 後台地址 http://your.domain.name/wp-admin/ to http://your.domain.name/whatever-you-want/
01. 下載 Stealth Login 並解壓上傳到 ./wp-content/plugins/ 下。
// 或從 WordPress 後台直接搜尋 Stealth Login 下載
02. Plugins -> Installed -> Activate Stealth Login
03. WordPress 後台 -> Settings -> Stealth Login Read more...
09 Oct
Author: Eric // Category:
Free Teaching01. 如果要存檔成 UTF-8, 千萬別跟自己過不去, 去使用 Windows 內建的記事本, 請使用 PSPad, NotePad++, EmEditor, UltraEdit 或其它好一點的文字編輯器。因為使用 Windows 內建的記事本, 以UTF-8存檔時, 會自動添加 BOM 標籤, 而造成一些問題, 如 Warning: Cannot modify header information - headers already sent by...。

Read more...
08 Oct
Author: Eric // Category:
Free Teaching00. 如果您想一統天下, 讓 non-www url 在網址前面都加上 www 或您想把 www url 的 www 都去掉。因為搜尋引擎會視 non-www 和 www 為兩個不同的網站, 為了 SEO 著想, 或者是想讓搜尋引擎, 固定都收錄 non-www or www 的網址, 而不會三心二意, 一下收錄 non-www 一下收錄 www。
Read more...