Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
http://mysite.com/staticcategory/page_name
改成
http://mysite.com/category/page-name?post_type=question
如何成为这个规则?
在您的 .htaccess 文件中:
RewriteEngine on RewriteRule ^/staticcategory/(.*)$ /category/$1?post_type=question [R]