307 redirects

I have a shopping cart php script on my site that sends and email out with download links once a successful paypal payment is made. The script seems to have stopped sending out this email since I have started using ssl/caching from cloudflare … this is the error I get:

HTTP/1.1 307 Temporary Redirect
Date: Sat, 15 May 2021 16:37:01 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Pragma: no-cache
cache-control: no-cache
Location: /linklokme.php
CF-Cache-Status: DYNAMIC
cf-request-id: 0a127…
Expect-CT: max-age=604800, report-uri=“https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct

plus random other things afterwards…what can i do to stop cloudflare to 307 redirect that php file?

Was this working with SSL before you added the site to Cloudflare?

1 Like

I did both at the same time. it does work without ssl and cloudflare, but I am trying to go for the ideal situation as speed is great with cloudflare and I feel SSL gives more trust to buyer

That sounds like a “no.” It needs SSL before you add it to Cloudflare.

1 Like

I use a plugin on this wordpress site, really simple ssl.
The website in question has ssl enabled

https://giannichiarello.com/

the caching is done through a plugin called Hummingbird which connects with cloudflare

I seem to have solved this…some code in the htaccess file was causing a redirect, most like a hack (and god knows how long that might have been there!). Thank you for all the replies!

*** edit…nope, it’s not yet solved…it’s back to not sending out the email and returning a 307 redirect…***

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.