Title: [Plugin: CatWalker] Widget producing wrong url
Last modified: August 20, 2016

---

# [Plugin: CatWalker] Widget producing wrong url

 *  [jflug](https://wordpress.org/support/users/jflug/)
 * (@jflug)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-catwalker-widget-producing-wrong-url/)
 * When I use the widget, the url lists the query as ?category=slug and it should
   be ?cat=slug. I am somewhat of a newbie, any suggestions on what I can do to 
   fix this?
 * [http://wordpress.org/extend/plugins/catwalker/](http://wordpress.org/extend/plugins/catwalker/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [kwiliarty](https://wordpress.org/support/users/kwiliarty/)
 * (@kwiliarty)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-catwalker-widget-producing-wrong-url/#post-2413237)
 * Thanks for pointing this out. The problem was worse than that, I’m afraid. I’m
   sure that what I had in there worked at some point, but it was not very smart
   about different URL settings on different sites, and I was finding most recently
   that the query string
 * `?cat=slug1+slug2`
 * was not pulling up the intersections of the categories specified. It wasn’t anything
   you were doing, at any rate.
 * I’ve just posted a new release that tries to handle the business with more grace.
   I detect whether a site is using permalinks (pretty URL’s). If so I try to use
   that URL structure to formulate the URL appropriately for the site and then direct
   the page to that location. The idea is to keep the intersection links consistent
   with the other links on a site.
 * When a site is not using rewritten permalinks, I leave the URL with the query
   string as it is generated from the widget, but I then use those values to run
   a custom query to pull up the appropriate posts.
 * I foresee that additional tweaks will be required, but I hope that this is a 
   good start.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: CatWalker] Widget producing wrong url’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/catwalker.svg)
 * [CatWalker](https://wordpress.org/plugins/catwalker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/catwalker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/catwalker/)
 * [Active Topics](https://wordpress.org/support/plugin/catwalker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/catwalker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/catwalker/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [kwiliarty](https://wordpress.org/support/users/kwiliarty/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-catwalker-widget-producing-wrong-url/#post-2413237)
 * Status: not resolved