Title: GET-Parameter
Last modified: April 26, 2022

---

# GET-Parameter

 *  Resolved [wp_user1](https://wordpress.org/support/users/wp_user1/)
 * (@wp_user1)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/get-parameter-3/)
 * Hey there,
 * we use the login option with lightbox integration.
 * As we learned, the “redirect_to” parameter gets ignored.
 * But is there any possibility to add a Get-parameter after reload?
 * For example I am on [http://www.website.com/test](http://www.website.com/test)
   and click on “login”.
    Now lightbox openes. I log in. The page [http://www.website.com/test](http://www.website.com/test)
   reloads. Can this reloaded page [http://www.website.com/test](http://www.website.com/test)
   get a parameter, e.g. [http://www.website.com/test?userswploggedin=true](http://www.website.com/test?userswploggedin=true)
 * Or does another parameter exist (e.g. POST or SESSION)?

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

 *  [alexrollin](https://wordpress.org/support/users/alexrollin/)
 * (@alexrollin)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/get-parameter-3/#post-15591901)
 * Hi,
    We are using JavaScript location.reload(); to reload the page after a successful
   login so we can’t add the new parameters to the URL without modifying the script
   code. We are looking into the possibilities for following redirect settings and
   providing a filter to change the URL for a future release of the plugin. Regards,
 *  Thread Starter [wp_user1](https://wordpress.org/support/users/wp_user1/)
 * (@wp_user1)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/get-parameter-3/#post-15593569)
 * Hey Alex, thank you.
 * In which file do I find this? The users-wp.js?
 *  [alexrollin](https://wordpress.org/support/users/alexrollin/)
 * (@alexrollin)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/get-parameter-3/#post-15595148)
 * Yes, users-wp.js is the correct file to look into but you need to minify the 
   file after modifying as we load minified version of file in the plugin.
 *  Thread Starter [wp_user1](https://wordpress.org/support/users/wp_user1/)
 * (@wp_user1)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/get-parameter-3/#post-15595241)
 * Okay perfect..
 * One last question:
    there are several location.reload() – line 172, 413, 445,
   525, 724.
 * Which one is the right for the login lightbox integration?
 *  [alexrollin](https://wordpress.org/support/users/alexrollin/)
 * (@alexrollin)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/get-parameter-3/#post-15595467)
 * The code is at line no. 413. See the function here: [https://github.com/AyeCode/userswp/blob/2b12dfef47a04acbad29a22738613cdfeedee6d5/assets/js/users-wp.js#L377](https://github.com/AyeCode/userswp/blob/2b12dfef47a04acbad29a22738613cdfeedee6d5/assets/js/users-wp.js#L377)
 *  Thread Starter [wp_user1](https://wordpress.org/support/users/wp_user1/)
 * (@wp_user1)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/get-parameter-3/#post-15601344)
 * Perfect thank you!

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

The topic ‘GET-Parameter’ is closed to new replies.

 * ![](https://ps.w.org/userswp/assets/icon-256x256.png?rev=2784318)
 * [UsersWP - Front-end login form, User Registration, User Profile & Members Directory plugin for WP](https://wordpress.org/plugins/userswp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/userswp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/userswp/)
 * [Active Topics](https://wordpress.org/support/plugin/userswp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/userswp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/userswp/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [wp_user1](https://wordpress.org/support/users/wp_user1/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/get-parameter-3/#post-15601344)
 * Status: resolved