Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8670647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:45:31+00:00 2026-06-12T18:45:31+00:00

I have the following url query that is adding the parameter texas and the

  • 0

I have the following url query that is adding the parameter texas and the county harris to the permalink for a query. These are part of a custom taxonomy called geography.

xyz.com/dealers/honda/?geography=texas&geography=harris

How do I rewrite this url in wordpress to be:

xyz.com/dealers/honda/texas/harris/

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T18:45:32+00:00Added an answer on June 12, 2026 at 6:45 pm

    you can do the following in your functions.php:

    add_rewrite_rule('^dealers/honda/([^/]*)/([^/]*)/?','index.php?geography=$matches[1]&geography=$matches[2]','top');
    

    However you should note that you have geography set twice and the last one is the one that will be used.

    You will also need to navigate to your permalinks page at xyz.com/wp-admin/options-permalink.php before this actually works or else you’ll get a 404ish error.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following url http://localhost/user/MyUserName How do I get MyUserName from that url?
I have the following sql query that fetches images from an establishment table. The
Given the following URL: domain.com/page.aspx?id=123 How can I sanitize that query string value when
I have the following that adds the current URL to a session then displays
I have the following Xelemnt that contains a linq query within it. The query
I have the following query that works like i want it to, except i
I have the following function that decodes a URL into a hash comprised of
I have the following mysql query: $manufacturers_query = select m.manufacturers_id, m.manufacturers_name, m.manufacturers_image, mi.manufacturers_url from
I have the following URL: https://api.stackexchange.com/2.0/questions?page=1&pagesize=30&order=desc&sort=activity&site=stackoverflow When I type this URL in my browser's
I have the following URl: http://localhost:12981/BaseEvent/EventOverview/12?type=Film This is route: routes.MapRoute( Default, // Route name

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.