Title: Query strings
Last modified: July 24, 2018

---

# Query strings

 *  Resolved [masterx81](https://wordpress.org/support/users/masterx81/)
 * (@masterx81)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/query-strings-3/)
 * Hi! Thanks for this nice plugin, i find it really flexible!
    But i have a trouble
   with query strings that i not understand. I have a page with a link including
   a query string: `<a href="/index.php/logon/?redirect_to=/index.php/previous-page/"
   class="modal-link">Logon</a>` or `<a href="/index.php/logon/?redirect_to=/previous-
   page/" class="modal-link">Logon</a>` It will not be rendered correctly in the
   modal box. I use it for display the logon window (using wp-members, that allow
   the “redirect_to” query string), and if the authentication is ok, redirect back
   to the page that i was reading. Instead if i do: `<a href="/index.php/logon/?
   redirect_to=/index.php/" class="modal-link">Logon</a>` the page is rendered correctly.
   Any thought? Thanks!

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

 *  Plugin Author [allurewebsolutions](https://wordpress.org/support/users/allurewebsolutions/)
 * (@allurewebsolutions)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/query-strings-3/#post-10531647)
 * Any reason not to use your third example if it’s working?
 *  Thread Starter [masterx81](https://wordpress.org/support/users/masterx81/)
 * (@masterx81)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/query-strings-3/#post-10531692)
 * The third example is missing the actual page and point to the index page… Not
   work also using the /pagename/
 *  Plugin Author [allurewebsolutions](https://wordpress.org/support/users/allurewebsolutions/)
 * (@allurewebsolutions)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/query-strings-3/#post-10531712)
 * This sounds like a more in depth and unique situation, so please submit a support
   request as described here: [https://allurewebsolutions.com/open-wordpress-post-modal-without-plugin](https://allurewebsolutions.com/open-wordpress-post-modal-without-plugin)

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

The topic ‘Query strings’ is closed to new replies.

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

 * 3 replies
 * 2 participants
 * Last reply from: [allurewebsolutions](https://wordpress.org/support/users/allurewebsolutions/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/query-strings-3/#post-10531712)
 * Status: resolved