I need to add a tag base with the country name to filter content based on that variable.

Something like:

http://base_url/country/page_name or http://base_url/country/post_type/post_name

The content would be filtered by a taxonomy using the country variable.

  • Do you mean country is a taxonomy term? So it could be http://base_url/belgium/[page_name] and http://base_url/france/[page_name]?
    – Jan Fabry
    Jul 9 '11 at 13:45
  • That's exactly what i need to figure out
    – donbungle
    Jul 20 '11 at 18:23

I don't say this often but in this case: It is impossible without:

  1. hard coding the tags and adding dedicated rewrite rules for those or
  2. getting the current tag list on each request and updating the rewrite rules (very slow).

In short: No, forget it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.