wordpress and the $_GET method

276 Views Asked by At

I have recently updated a plain html website for a music festival into wordpress. All is fine and beautifulllllll(!), except for one thing. People who apply for the courses are supposed to pay for a deposit, and when they do so they should receive a confirmation email that includes a URL for the future payment of the rest of the course fee. With the old site, we used to have something like:

http://www.mysite.com/coursefee.php?amount=10&refno=1234&name=John

The coursefee.php file used the $_GET method to create a form that would lead to the payment service (with the right amount to be paid, the correct reference number, ASO). The problem is that if I use the same configuration in wordpress.... well, things don't work. Wordpress uses url parameters as query parameters and I really don't know how to go around this issue.

Any ideas?

Thanks!!!!!

1

There are 1 best solutions below

3
On

Did you check the path to your coursefee.php files is in the wordpress root directory ?

This php file is not part of Wordpress core, so if you have the standard .htaccess file, you should access it directly without initializing WordPress.