Wp-admin wrongly redirecting on multisite

Solved it adding an annotation to the ingress: nginx.ingress.kubernetes.io/rewrite-target: / nginx.ingress.kubernetes.io/use-regex: “true” nginx.ingress.kubernetes.io/configuration-snippet: | rewrite ^(/[^/]+)?(/wp-admin)$ $1$2/ break; rewrite ^(/[^/]+)?(/wp-admin/.*)$ $1$2 break; And changing the pathtype to ImplementationSpecific

wordpress is auto using http: not https: as it needs to because the server is http behind a reverse proxy https, how do I stop it?

I have a fix, I am not happy with it but it works: I added define(‘FORCE_SSL_ADMIN’, true); to wp-config.php Then I changed this method is_ssl() in /wp-includes/load.php to this. I think to avoid this bug, the define(‘FORCE_SSL_ADMIN’, true); check should have be used by the developers. I added the line if( defined( FORCE_SSL_ADMIN ) ) … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)