Read the siteurl and home addresses
check wordpress site url | wordpress redirects to wrong domain | wordpress redirect loop | wp-cli | options | seowp option get siteurl --path=/var/www/vhosts/example.com/httpdocs && wp option get home --path=/var/www/vhosts/example.com/httpdocsPrints the two options siteurl (address of the WordPress files) and home (address of the website). Wrong values lead to redirects to old domains, endless loops or mixed http and https. Both values should normally be identical and contain the desired protocol.
Note: If WP_HOME or WP_SITEURL are set in wp-config.php, these constants override the database values.
Also searched as
- check wordpress site url
- wordpress redirects to wrong domain
- wordpress redirect loop