• Hello.
    A have url: example.com/appliance/dryer-repair/?state=CA&city=Denver&zip=90007
    everything works fine.

    Need url: example.com/appliance/dryer-repair/CA/Denver/90007

    I do not know what to do. Tried htaccess, only works with one parameter

Viewing 1 replies (of 1 total)
  • Take a look at WP_Rewrite – exactly what you’re looking for. The short of it, those are query args that you’re passing in the first URL. Using WP_Rewrite, you can convert the URL to a pretty permalink.

    It’s not easy, or super straight forward ( ie. newbie friendly ) – but it’s exactly what you need.

Viewing 1 replies (of 1 total)

The topic ‘Custom url’ is closed to new replies.