: When I click on my site in the Google results, I get redirected to my site with an extra www subdomain which is an error I have this domain example.com, when I search in Google for "example"
I have this domain example.com, when I search in Google for "example" I can see it has listed my domain properly. But when I click on that it goes to www.www.example.com with two www segments. I have configured Google web-master accounts as well. What could be the reason it got www segment twice?
More posts by @Hamaas447
1 Comments
Sorted by latest first Latest Oldest Best
The problem is not with Google. Your site is not redirecting properly:
$ curl --head www.example.com/ HTTP/1.1 301 Moved Permanently
Date: Mon, 18 Jan 2016 13:09:29 GMT
Server: Apache/2.4.7 (Ubuntu)
Location: www.www.example.com/ Content-Type: text/html; charset=iso-8859-1
You are issuing an https redirect with www in it when http is specified.
When you fix it, you may also want to add the www record to DNS and point it to your web server. You might want to use a CNAME record. That is most likely what you do with the www record. Then you can configure your web server to redirect www to your site.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.