NGINX rewrite rules for WordPress Subdirectory Multisite to support deep URL
NGINX rewrite rules for WordPress Subdirectory Multisite to support deep URL
NGINX rewrite rules for WordPress Subdirectory Multisite to support deep URL
Protect pdf file for only logged in user in nginx wordpress
So Im posting the answer if that helps anyone. It turns out all my issues where coming from a failed wordpress auto update to 6.5.4. after forcing the update everything came back to normal
WordPress multisite with subdomains behind nginx reverse proxy using subdirectories
WordPress site calling debug.log and .user.ini at certain hour
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
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
How can I improve and optimise my wordpress web server for better performance in 2023
Serve static files via a subdomain on a wordpress
Loading WordPress Site Inside iframe won’t allow users to login