Title: Put form select into URL
Last modified: August 31, 2016

---

# Put form select into URL

 *  Resolved [ZaddKeefer](https://wordpress.org/support/users/zaddkeefer/)
 * (@zaddkeefer)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/put-form-select-into-url/)
 * I want to put the selected value from the option into my url.. Is this possible
   by any chance? I want to whenever a user select the “option” to appear it into
   my url… So I can use it in my wp_query.. Thanks guys!
 * Here is the code:
    [http://pastebin.com/RUD1HGkJ](http://pastebin.com/RUD1HGkJ)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/put-form-select-into-url/#post-6983513)
 * It’s easy.
 * `<form method="get">`
 * That’s all. 🙂
 * Setting this to `get` sends the form values as URL parameters instead of sending
   them as POST values.
 *  Thread Starter [ZaddKeefer](https://wordpress.org/support/users/zaddkeefer/)
 * (@zaddkeefer)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/put-form-select-into-url/#post-6983602)
 * Thanks for the fast reply, I changed it up quickly but it doesn’t seem to have
   effect in the url.. It still order by the selections, but does not seem to send
   it to the url
 * Any solution on this? This might be more simple than I know of lol
 *  Thread Starter [ZaddKeefer](https://wordpress.org/support/users/zaddkeefer/)
 * (@zaddkeefer)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/put-form-select-into-url/#post-6983604)
 * Never mind, it worked out.. I was on the wrong page
 * Thanks again

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Put form select into URL’ is closed to new replies.

## Tags

 * [form](https://wordpress.org/support/topic-tag/form/)
 * [url](https://wordpress.org/support/topic-tag/url/)
 * [wp_query](https://wordpress.org/support/topic-tag/wp_query/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [ZaddKeefer](https://wordpress.org/support/users/zaddkeefer/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/put-form-select-into-url/#post-6983604)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
