Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Redirect: Stripe gives me 404 |
|
Author |
|
Bing
Joined: 15 Sep 2016 Posts: 1 Location: Stockholm
|
Posted: Thu 15 Sep '16 16:55 Post subject: Redirect: Stripe gives me 404 |
|
|
Hi!
I'm a total n00b needing help with what probably is a simple thing. Here's my problem:
I'm running a Wordpress site on Apache 2.4.23. On that WP I have installed a plug in (simple pay lite) for Stripe payments. Everything seems to be working except one thing:
After payment i get 404
Stripe/plug in is supposed to send user/customer to a page on the site (www.example.se/successfulpayment) but it adds a bunch of ramble at the end of the URL (www.example.se/successfulpayment123%45&679%09778653): Hence 404.
I need to get .htaccess to send all customers to (www.example.se/successfulpayment) regardless of what follows after (...payment)
Shouldn't be to hard, right? Well, I'm at a loss. Can't get it to work.
So, pretty please with spoonfuls of sugar, help me. My head hurts.
/L |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 19 Sep '16 14:22 Post subject: |
|
|
You can add this
Code: |
RewriteRule ^/successfulpayment(.*)$ /successfulpayment [QSA]
|
|
|
Back to top |
|
|
|
|
|
|