Plugin Author
AITpro
(@aitpro)
My guess would be the problem is either your WordPress site address/URL settings on the WordPress Settings > General page (WordPress Address (URL) and Site Address (URL)) need to be changed to https or you need to add/use SSL/HTTPS htaccess code > https://forum.ait-pro.com/forums/topic/wordpress-ssl-htaccess-code-rewrite-ssl-rewritecond-server_port/#post-7233 or you need to flush/clear/delete any old plugin cache and flush/delete/clear any old Cloudflare cache or this is some kind of bug with the Cloudflare “always use https 301 redirect” option setting.
Plugin Author
AITpro
(@aitpro)
Another possible problem could be that your SSL Certificate has some kind of problem.
– SSL Certificate is the free one on Cloudlfare Free Package: A Universal Shared SSL
– Forgot to mention that: Before I upgraded my hosting to a higher package it was working great. And this problem is just happened right after the upgrade (only the server IP has changed). The hosting company isnt helpful for this problem. What would cause this after the upgrade?
– I will try your above suggestions.
Plugin Author
AITpro
(@aitpro)
What does “upgrade” mean. Did you only upgrade to a higher hosting plan? ie “basic” to “ultimate”? Did you literally change servers? Did you change your PHP server version? etc.
– From shared hosting to managed vps (actually still shared but with less sites but with more resources (dedicated)): However they dont allow me to change on root level.
– Nothing changed on php version
Plugin Author
AITpro
(@aitpro)
Ok so that would mean that you are on a new server with a new/different PHP server build/installation/compile. It is possible that something is “off” with your new PHP server. The quick and simple way to check that is to switch your PHP server version. Check your web host help pages for specific instructions for your particular host on how to switch your PHP server version. Typically this only takes about 5-10 minutes to do.
Tried to look at php settings but they are all same.
One possible cause would be : A new SSL from my hosting company has been activated automatically.
So do you think it would conflict with cloudflare?
Plugin Author
AITpro
(@aitpro)
Are you using the Cloudflare Page Rule correctly? It appears that this is a sitewide rule that forces all http URI’s to https URI’s and not just one specific URI/URL.
Maybe adding SSL/HTTPS htaccess redirect code will help/work > https://forum.ait-pro.com/forums/topic/wordpress-ssl-htaccess-code-rewrite-ssl-rewritecond-server_port/#post-7233 or maybe Cloudflare has some htaccess code that you need to add to BPS Root Custom Code?
Cloudflare help page reference: https://support.cloudflare.com/hc/en-us/articles/200170536-How-do-I-redirect-all-visitors-to-HTTPS-SSL-
Your Cloudflare Page Rule should be either:http://*example.com/* or http://example.com/* going by the example on the Cloudflare Page Rule help link above.
-
This reply was modified 8 years, 2 months ago by
AITpro.
Plugin Author
AITpro
(@aitpro)
Is this issue resolved? Do you need any additional assistance?
Plugin Author
AITpro
(@aitpro)
Assuming all questions have been answered – the thread has been resolved. If the issue/problem is not resolved or you have additional questions about this specific thread topic then you can post them at any time. We still receive email notifications when threads have been resolved.