WordPress keeps WP_HOME
and WP_SITEURL
in DB, this is set during initial installation and usually is the domain of your website, in your case it is a domain with https
.
Your visiting site via local domain, but WordPress redirects to https live domain, causing redirect loop which obviously fails.
To fix this, change WP_HOME
and WP_SITEURL
values in DB.
Or simply add this to wp-config.php:
define('WP_HOME','http://domain.local');
define('WP_SITEURL','http://domain.local');
Also remember that your browser is caching redirects aggressively. You need to clean cache to see results, or use browser incognito mode.
Related Posts:
- https connection using CURL from command line
- Simple Java HTTPS server
- HTTPS connection Python
- Java: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- Issues with installing python libraries on Windows : CondaHTTPError: HTTP 000 CONNECTION FAILED for url
- bloginfo() and get_template_directory_uri() with SSL?
- After updating site to use SSL all images in posts point to http://
- Adding https to wordpress website
- SSL setup: wp-login css doesn’t load over httpS
- In WP versions >= 4.0, is FORCE_SSL_LOGIN forcing HTTPS for the entire admin session?
- Occasional HTTPS Mixed Content Warning
- Divert http to https with WordPress on IIS
- WordPress : To load all asset files coming from HTTP to HTTPS?
- I changed my site from HTTPS back to HTTP and now it is broken- Cannot access Admin panel on HTTP URL
- un-loading https
- WordPress site shows “File not found.” if opened through https
- How do I set up a local version of my https wordpress site for testing and development using MAMP
- Address a single page to SSL https secure protocol?
- wordpress http to https windows server
- Jetpack “Connect to WordPress” serving insecure content under HTTPS
- Allow non-SSL pages to use https or Force non-SSL pages to http?
- Website access with http and https
- Need ideas for HTTPS multiple domain solution
- How to control SSL in WordPress for automatically changing http to https?
- All content is HTTPS, but browsers warn of HTTP mixed content [closed]
- How do I handle SSL properly when WP is behind a reverse proxy?
- Hi do I change Media files that still show as http after installing ssl
- ERR_TOO_MANY_REDIRECTS on wordpress page [closed]
- URLs not being output with https
- Website Migration (with https) to a new domain(http)
- How to move my local wordpress to https?
- Why does WordPress uses HTTPS for JS, CSS on EC2
- Implications of not completing all tasks when switching to HTTPS
- SSL Certificate
- Front-end pages messed up due to HTTPS
- How to send user data from one website to another
- How come all my http URLs are turned to https?
- Forcing SSL (Bad Theme coding)
- How to switch static files back to using HTTP instead of HTTPS?
- My WordPress site SSL is in red crossed color and can’t load at first time?
- SSL/HTTPS Redirect Loop
- The plain HTTP request was sent to HTTPS port in wordpress [closed]
- iHow to redirect all http traffic to https now that a SSL certificate is added?
- How to force static assets with HTTP sources to load over HTTPS?
- Moving WordPress from http to https over existing site
- Properly setting up a “default” nginx server for https
- Changing my URL in General Settings cause the site to crash
- 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?
- No “Proceed Anyway” option on NET::ERR_CERT_INVALID in Chrome on MacOS
- NET::ERR_CERT_REVOKED in Chrome, when the certificate is not actually revoked
- How to generate a self-signed SSL certificate using OpenSSL?
- Convert .pem to .crt and .key
- CFNetwork SSLHandshake failed iOS 9
- What exactly is cacert.pem for?
- OpenSSL: unable to verify the first certificate for Experian URL
- WordPress wp-admin https redirect loop
- Switching MultiSite installation from HTTP to HTTPS
- Howto force SSL for all requests?
- SSL breaks customizer: page isn’t returned from ajax
- Disable all https in WordPress
- Images causing Mixed Content with SSL
- Force HTTPS using .htaccess – stuck in redirect loop
- Favicon causes mixed content warning over SSL
- How to redirect url requests to https? [closed]
- Globally force SSL on all pages
- WordPress redirect loop on nginx + apache reverse proxy
- Enable Full SSL for WordPress
- WordPress Dashboards: slowness and timeouts
- What is the right way to redirect all traffic to HTTPS?
- Search and replace http:// links to https:// to get the green padlock
- HTTP sitewide, except for: wp-admin, and 2 custom directories
- wp-cli command throws error : “SSL routines:tls_process_server_certificate:certificate verify failed” while querying https website
- How to set up HTTPS WordPress from Install Step?
- Htaccess file isn’t redirecting http sub-pages to https––they display 404 error instead, tried many solutions and none work
- I could not access my website wp-admin after installing SSL. And error with mixed content
- SSL certificate error on Google Chrome , IE [closed]
- Permalinks 404 error with HTTPS host
- Too many redirects after added SSL redirect on port 80 virtual host
- ReDirect subfolder link to another sub-folder and force SSL
- Redirect the whole blog to SSL but not the RSS feed (under Nginx)
- Facebook og:image issues after https change [closed]
- How to keep WP from using https to get to wordpress.org?
- SSL doesn’t work on certain pages – what is wrong?
- WordPress site shown as Not Secure on Chrome when SSL certificate is valid
- WordPress CSS/Theme gone after SSL got activated
- Do I install WordPress from my Cpanel on https or http, if my website has valid certificate?
- SSL not working fine, Home url not matching with site url wordpress errors
- Specific Page/Post Need to Stay Non SSL
- ERR_SSL_PROTOCOL_ERROR
- Since moving HTTPS using cloudflare, the admin and login pages no longer work
- site on subdomain is redirecting to main site after installing wildcard ssl cert on both
- WordPress Insecure Content
- SSL certificate breaks CSS (in combination with W3TC)
- My site thinks it’s secure when it is fact not
- I would like to add ssl certificate to my already existing wordpress site
- How do I secure a subdomain using UCC SSL?
- Serve HTTPS requests from subdomain
- Issue when site move from ssl domain to new domain without ssl
- Does each server behind a load balancer need their own SSL certificate?
- How to force HTTP and stop SSL completey on WordPress website