Thanks Nayeem. I did some further inspection, and I realized the issue actually started when I switched to Azure App Service last week.
I tried adjusting the IP detection in wp-config.php like this:
if ( isset($_SERVER[‘HTTP_CF_CONNECTING_IP’]) ) {
$_SERVER[‘REMOTE_ADDR’] = $_SERVER[‘HTTP_CF_CONNECTING_IP’];
$_SERVER[‘HTTP_X_FORWARDED_FOR’] = $_SERVER[‘HTTP_CF_CONNECTING_IP’];
$_SERVER[‘HTTP_CLIENT_IP’] = $_SERVER[‘HTTP_CF_CONNECTING_IP’];
}
Unfortunately, this didn’t fix it — in the download history, all users are still shown as coming from 169.254.129.1. It looks like WPDM might not be using $_SERVER[‘REMOTE_ADDR’] consistently, or perhaps Azure is overriding it in a way I can’t fully control.
Could you please advise:
Which header does WP Download Manager use to detect client IP?
Is there a way to force WPDM to use HTTP_CF_CONNECTING_IP (or another header) when it is available?
If not, is there a recommended workaround for Azure App Service environments?
Thank you so much for your help
Hi Nayeem, any updates? I can still see the limits are not working. Currently this is being exploited so we need to get this fixed asap.
Ok please check by disabling some plugins. But do not change the theme please.
It works perfectly now. Thank you so much!!!
Sure!
That is correct: Default Lock Options
It works. That’s amazing. Really appreciate the customer support!
Hi Nayeem thanks for your reply.
I checked the documentation but nowhere does it show the shortcode for the email lock additional field in csv?
Again im looking for a way to add my email form (downloads_form) to the csv file.
Thanks
Great that works, thank you!
Wow, that was really fast. I can see the feature now. Thank you so much, really appreciated.
Unfortunately the form lock feature seems not included in the new update. Could you clarify?
Great to hear that!
OK I’ll look into that. For now I just disable the preview function. However, another issue I have (hopefully the last) is that for EACH download the form lock appears each time.
This seems to be fixable with “Skip Lock” settings that is enabled for email, but there is no way to add form lock here.
Please help me, thanks.