I recently activated HTTPS and whenever I add the "https" prefix to those pages that use php and ajax, the features dont operate as expected. fwrite (PHP) and/or AJAX for data retrieval in specific are features I'm noticing are not working.
Printable View
I recently activated HTTPS and whenever I add the "https" prefix to those pages that use php and ajax, the features dont operate as expected. fwrite (PHP) and/or AJAX for data retrieval in specific are features I'm noticing are not working.
Hello,
This is a common issue when migrating to HTTPS. Here are a few things to check:
- Make sure all your AJAX URLs are using HTTPS instead of HTTP (you can check that in browser's console, under the "Network" tab)
- Check if you're using any hardcoded HTTP URLs in your PHP files
- Verify that all external resources (APIs, scripts, etc.) are also loaded via HTTPS
Could you share your website URL and perhaps some of the code that's not working?
Bye!