03-13-2019, 12:38 PM
My first guess is you have mixed up Wordpress adress and site address under general settings in wordpress.
Or may be your vhost setting is forcing to an url but that is in conflict with wordpress url in settings.
Here is what i suggest you do...
Say you want to visit your wp site at
and you want
and http of the both of them to redirect to
.
Then make sure you have
in both url space under your wordpress general settings. If you cant access then go to wp-config.php and change as
Next,
check nginx.conf or the webserver settings file where you have your vhost settings and make sure your site is at www dot google dot com listening to port 443 using ssl
For nginx,
Also make sure your redirects are ok.
Then clear your browser cache and cookies and enjoy.
Or may be your vhost setting is forcing to an url but that is in conflict with wordpress url in settings.
Here is what i suggest you do...
Say you want to visit your wp site at
Code: (Select All)
https://www.google.comCode: (Select All)
https://google.comCode: (Select All)
https://www.google.comThen make sure you have
Code: (Select All)
https://www.google.comCode: (Select All)
define('WP_HOME','https://www.google.com');
define('WP_SITEURL','https://www.google.com');Next,
check nginx.conf or the webserver settings file where you have your vhost settings and make sure your site is at www dot google dot com listening to port 443 using ssl
For nginx,
Code: (Select All)
server {
listen 443 ssl;
server_name www.google.com;
......Also make sure your redirects are ok.
Then clear your browser cache and cookies and enjoy.
