这里已经提到了这个问题(一年前),但显然没有回答,而且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