緣來自有機之御用忙人 青衣半夜驚魂
七月 06

1,能用permalink,但UTW的url rewrite卻用不了。天佑說過可能是mod_rewrite的問題。但是permalink不是一樣要用到mod_rewrite的嗎?

2,我在google的網站管理發現本blog有數十個無法訪問的地址。我想這應該是我改了幾次permalink造成的。但奇怪的是,我發現有文章的網址和trackback地址竟然是不同的。比如說5月15號的文章,地址是5/15,但trackback地址卻變成了7/15。相差兩個月了。

3,日期時間可能會變動,但post id是固定的。所以我還是把permalink改成只有post id。雖然wordpress的官方網頁說,以為.html的網址容易被搜索引擎索引是一種幻覺,但只有post id的網址看上去卻短了點,於是在後面加了.html。我這是甚麼想法呀,大家都想網址短一點,我卻嫌太短。

4,不過,不用一分鐘我又把.html去掉了。

5,我是多麼地善變呀。我為我的善變令一些在本blog遭遇404的朋友表示歉意。我為破壞了permalink這個名字向全世界網民表示歉意。


Technorati : ,

Tags: ,

相關文章

他人閱讀軌跡:

2 Responses to “奇怪現象”

  1. 1. 天佑 Says:

    1. 如果是 default 的 permalink structure (/?p=xxx)是不需要 mod_rewrite 的,如果你可以用到 date/time based permalink 即是這 web server 支援 mod_rewrite。最近一個網友都是遇到你同一個問題,即是可用 custom permalink,但 UTW 的 URL rewrite 不行,經那位網友一問我才記起這問題的解決方法,只要在 WP Dashboard -> Options -> Permalinks,再按 “Update Permalink Structure” 一次便行。

    2. 用 date based permalink,trackback URL 的日子不同我都是第一次聽,不懂作答。

    3. 我本人喜歡用很長的 permalink,總覺得較 SEO friendly。

  2. 2. cow Says:

    天佑 曾性感地說過:

    1. 如果是 default 的 permalink structure (/?p=xxx)是不需要 mod_rewrite 的,如果你可以用到 date/time based permalink 即是這 web server 支援 mod_rewrite。最近一個網友都是遇到你同一個問題,即是可用 custom permalink,但 UTW 的 URL rewrite 不行,經那位網友一問我才記起這問題的解決方法,只要在 WP Dashboard -> Options -> Permalinks,再按 “Update Permalink Structure” 一次便行。

    2. 用 date based permalink,trackback URL 的日子不同我都是第一次聽,不懂作答。

    3. 我本人喜歡用很長的 permalink,總覺得較 SEO friendly。

    你的方法果然行。謝了。

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word