Support » Fixing WordPress » WP is redirecting my query strings in an odd way…

  • I am trying to write a filter feature for my custom post type browser. I am using query strings to link to the post browser. There is a page containing a custom shortcode that displays these filters and the correct posts. Any way, WordPress keeps redirecting my query strings in a very odd way. If my URL is example.com/services/?category=all&location=&keywords=&distance=5&order=name&per_page=5, it works absolutely fine. But if my URL is services/?category=all&location=&keywords=&distance=5&order=name&per_page=5&page=2, my web browser redirects me to services/2/?category=all&location&keywords&distance=5&order=name&per_page=5

    Is there any way I can stop this from happening?

    • This topic was modified 1 year, 8 months ago by shoelace1291.
    • This topic was modified 1 year, 8 months ago by shoelace1291.
    • This topic was modified 1 year, 8 months ago by shoelace1291.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘WP is redirecting my query strings in an odd way…’ is closed to new replies.