Title: Redirect url broken
Last modified: October 28, 2017

---

# Redirect url broken

 *  Resolved [keeshoogendijk](https://wordpress.org/support/users/keeshoogendijk/)
 * (@keeshoogendijk)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/redirect-url-broken/)
 * Hi Nick,
 * I’m working with Stable tag: 0.5.0 of Mollie Forms.
    It’s all working nicely 
   except I got a 404 after the payment. The redirect url was set to: test-bestelformulier/
   payment=rfmp-957-59a448fc06f67 Instead of test-bestelformulier?payment=rfmp-957-
   59a448fc06f67
 * I changed: /wp-content/plugins/mollie-forms/includes/class-start.php
 *     ```
       line: 422 -> 
       $redirect   = get_home_url(null, $_SERVER['REQUEST_URI'] .
        (strstr($_SERVER['REQUEST_URI'], '?') ? '&' : '?'));
   
       to: -> 
       $redirect = get_home_url(null, $_SERVER['REQUEST_URI']);
       $redirect .= strstr($redirect, '?') ? '&' : '?';
       ```
   
 * This fixes this issue for me for now, but I guess you’ll want to fix it in your
   plugin.
 * Greetings,
    Kees

Viewing 1 replies (of 1 total)

 *  Plugin Author [Nick van Wobbie](https://wordpress.org/support/users/ndijkstra/)
 * (@ndijkstra)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-url-broken/#post-9738546)
 * Sorry for the late response, I’ll fix it in the next version!

Viewing 1 replies (of 1 total)

The topic ‘Redirect url broken’ is closed to new replies.

 * ![](https://ps.w.org/mollie-forms/assets/icon-256x256.png?rev=3502800)
 * [Mollie Forms](https://wordpress.org/plugins/mollie-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mollie-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mollie-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/mollie-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mollie-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mollie-forms/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Nick van Wobbie](https://wordpress.org/support/users/ndijkstra/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/redirect-url-broken/#post-9738546)
 * Status: resolved