wordpress on openshift custom domain “too many redirects” error

Daniyal asked:

wordpress on openshift custom domain “too many redirects” error for wp-admin page, works on openshift default domain. My custom domain is: https://sesjau.tk/wp-admin . So I check siteurl and home in option table and both are http://sesjau.tk

I have the same problem as here but I can’t understand how he solve it. Could you please help me?

My answer:


As you said, your siteurl and home in your WP options are wrong. You just need to fix them.

Since you put CloudFlare in front of your site and enabled the HTTPS option, your URL actually begins with https:. But the WordPress URL has http:. Change them to https:.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.