admin管理员组

文章数量:1122846

I have several subpages and over 100 posts in WordPress.

Their structure is standard and looks like this:

example/contact
example/about
example/post1
example/post2

Now I need to add a parameter to the URL with the dealer's name

example/dealerXXX
example/dealerYYY

and here is the problem, the dealer should have all available subpages and posts

example/dealerXXX/contact
example/dealerXXX/about
example/dealerXXX/post1
example/dealerXXX/post2

example/dealerYYY/contact
example/dealerYYY/about
example/dealerYYY/post1
example/dealerYYY/post2

How to achieve this effect in WP?

本文标签: htaccessCustom URL structure