這裏已經提到了這個問題(一年前),但顯然沒有回答,而且WordPress一直在不斷髮展,所以現在可能是一個很好的解決方案。我想通過url將變量傳遞給一個WordPress頁面(類似於CodeIgniter的uri幫助程序段)。如何將URL變量傳遞到WordPress頁面
目前我能做到這一點...
我的個人資料頁是: http://website.com/profile
我可以傳遞這樣一個變量: http://website.com/profile?username=johndoe
我要傳遞的變量在這樣: http://website.com/profile/johndoe 或 http://website.com/profile/username/johndoe
必須有某種輔助功能,對吧?
404錯誤,如果我嘗試website.com/profile/johndoe – 2010-03-26 00:04:11