Title: Multiple parameters?
Last modified: March 25, 2020

---

# Multiple parameters?

 *  [qwik3r](https://wordpress.org/support/users/qwik3r/)
 * (@qwik3r)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/multiple-parameters/)
 * I have a shortcode that looks for a url parameter to fill in a source from the
   url:
 *     ```
       https://example.com/ref=[source]
       ```
   
 * I’d like to phase out the source parameter in my urls in favor of utm_campaign,
   but want to keep [source] for urls that might still retain it. My question basically
   is if I can have both without issues. For example:
 *     ```
       https://example.com/ref=[source]&[utm_campaign]
       ```
   
 *  and if one is missing if it will mess up the url.
 * ie.. if source doesn’t exist it might show ref=&.
 * Hope my question is clear, thanks.
    -  This topic was modified 6 years, 2 months ago by [qwik3r](https://wordpress.org/support/users/qwik3r/).

The topic ‘Multiple parameters?’ is closed to new replies.

 * ![](https://ps.w.org/url-params/assets/icon-128x128.png?rev=979780)
 * [URL Params](https://wordpress.org/plugins/url-params/)
 * [Support Threads](https://wordpress.org/support/plugin/url-params/)
 * [Active Topics](https://wordpress.org/support/plugin/url-params/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/url-params/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/url-params/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [qwik3r](https://wordpress.org/support/users/qwik3r/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/multiple-parameters/)
 * Status: not resolved