Browsing"Wordpress"

Permalink issue after WordPress 3.x upgrade

Aug 6, 2011 by     No Comments    Posted under: Wordpress

前兩日身痕將個 blog upgrade 到 WordPress 3.2.1,即時賴野!

所有Categories 同 tags 既 content 全部都番去個blog既home page!

我第一時間以為死人Wordpress 將我D categories 同 tags 全部 reset 哂,睇真D又唔係。

跟住好自然會諗一定係我原先既 Tarski theme 出左問題,試過轉過好幾個簡單D既 theme 都一樣出事。

不停 Google search 下發現原真係 WordPress 既問題,而且仲有人已經出左個 Plugin 形式既 hotfix !

安左個 hotfix ,原全正常番!!

但係個 hotfix 只係將我D permalink 轉哂做 WordPress default 既格式,咁即係仲有問題啦!

於是又 Google search 一大輪,總算搵到完美既解決方案 !

詳情我就唔抄了,大家自行參考上面條link 罷啦。

只想補充一樣,當我 reset 左 .htaccess 後, 我發現如果 enable 左 simple tags 呢個 plugin 既話同樣既問題再次出現,所以我已經即時disable 左。

 

 

 

 


Installed Plugin

Apr 9, 2011 by     No Comments    Posted under: Wordpress

Pluginlist will only be shown in article, not in overview …



批量更改WordPress文章所屬分類

Apr 14, 2010 by     No Comments    Posted under: Wordpress

斷斷續續的寫了好年, 這個網誌由WordPress 1.X 寫呀寫,寫到現在Wordpress 都已經 3.0 beta 了。

一直都希望可以將一些Wordpress 的設定整理一下,我覺得現時最大的問題是Permalinks.

我一直沿用的Permalinks setting 是:

/%year%/%monthnum%/%day%/%postname%/

例如這篇文的Permalink 大概會是:

http://blog.baldheadcat.com/2010/04/15/batch-edit-wordpress-categories

這樣的Permalinks 結構在 SEO 的角度來說並不友善,更好的 setting 應該是:

/%categories%/%postname%/

即是這樣:

http://blog.baldheadcat.com/wordpress/batch-edit-wordpress-categories

好了,由於新設定完全基於 categories , 我首先要做的就是將大量Uncategorized 的 post 增設合適的categories。

Wordpress 2.8 開始已經支持 batch edit, 但我覺得這個build-in 功能實在太難用,又不能移除Uncategorized 這個 category ,只好用其它的plugin

最後還是用了的 Rob Miller 的 Batch Categories

不知為什麼 WordPress 的 add Plugins 中 search 不到這個plugin , anyway 手動安裝后在 tools menu 下多了 Batch Categories,

之後的操作就沒有什麼好談了,在 filter 中選取你要更改的post ,然後再選擇新增 / 移除所需的 categories 更可了。

這個plugin 其實很好用,好可惜每次都只可以選擇15個post!!

先選十五個 Uncategorized post 加入新的 category , 自然後又再選這十五個 post 一次來移除 Uncategorized,新 structure 中每一個 post 都只應有一個category。

我區區三百多個 post 來來回回的做了近五十次上述的動作,累死了。

另一問題是不知為什麼在 Mac 下所有中文search string 都變成亂碼

正式變更Permalinks前還有404 error 和 permalinks redirection 的問題要處理,我下一篇再談。


 

February 2012
S M T W T F S
« Dec    
 1234
567891011
12131415161718
19202122232425
26272829