Conflict with Google's preferred domain setting
-
The current situation is that I cannot log into my website.
The possible problem is as follows.
1. I used to set the preferred domain as DOMAIN.org (no www) in the Google’s Webmaster tool.
My setting in the wordpress was:
wordpress: domain.org
dispaly url: domain.org2. recently, I changed the webmaster tool: display URL https://www.domain.org.
And found that it won’t work. I cannot login the wordpress again (domain.org/wp-adim/, nor https://www.domain.org/wp-admin/)3. therefore, I changed the wordpress setting into:
wordpress: domain.org
display url: https://www.domain.org4. now, I cannot log in the wordpress.. but.. the website display properly.
I tried to add the following code in the wp-config:
update_option(‘siteurl’, ‘https://www.domain.org’ );
update_option(‘home’, ‘https://www.domain.org’ );Now both https://www.domain.org/wp-admin/ and domain.org/wp-admin are SERVER ERROR, not displaying anything.. I cannot do anything on it now.
Please advise what I can do to enter the wordpress again.
Thanks.
- The topic ‘Conflict with Google's preferred domain setting’ is closed to new replies.