Mobile app version of vmapp.org
Login or Join
Hamaas447

: 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"

@Hamaas447

Posted in: #GoogleSearch #Seo

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamaas447

1 Comments

Sorted by latest first Latest Oldest Best

 

@Eichhorn148

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme