I am locked out of my WordPress site after changing site URL from Http to Https

If you don’t have access to your cPanel, or don’t know how to make a database change, you can instead add these 2 lines to your wp-config.php file: define( ‘WP_SITEURL’, ‘http://example.com/’ ); define( ‘WP_HOME’, ‘http://example.com/’ ); You’ll of course want to change the urls to your actual urls. Just make sure you don’t have the … Read more

WordPress redirect loop on nginx + apache reverse proxy

Issue was caused by nginx serving example.com/index.php while WordPress was redirecting to example.com/, thus causing a redirect loop. This is the working config I used to fixed the redirect loop: server { server_name example.com; root /var/www/example.com; index index.php; listen 443 ssl; ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem; include /etc/letsencrypt/options-ssl-nginx.conf; ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; location / { try_files $uri @apache; … Read more

How disable SSL redirect for specific URL?

Your URL http://domain.com/server should work without problems. Most likely you have activated an HTTPS redirection for your website. You should check: If you have a security or other type of plugin that forces the HTTPS redirection and deactivate the redirection. (Most likely they will edit your .htaccess file in order to force the HTTPS) Check … Read more

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