admin管理员组

文章数量:1335167

I have a custom post type and i'm using the rewrite rule to change the URL from

mysite/collection?brand1=365&brand2=412

to

mysite/collection/compare/365-412

But I want to depend on meta value for more nice SEO url and user friendly

The meta will be the "model"of post

mysite/collection/compare/bmw-vs-ibm

How can I do that by WordPress rewrite rule function?

(not by .htaccess rewrite or URL rewriting with PHP)

本文标签: pluginsWordPress rewrite rule depend on meta values not ids