2

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?

Michael Hampton
  • 244,070
  • 43
  • 506
  • 972

2 Answers2

3

Finally I ignore https and change define( 'FORCE_SSL_ADMIN', true ); in .openshift/config to false, then set http for both siteurl and home.

2

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:.

Michael Hampton
  • 244,070
  • 43
  • 506
  • 972