Google Analytics Redundant Hostname
The "Redundant Hostname" error is shown as an alert by Google Analytics starting October 14, 2014. This alert indicates several things Google might have found about your website. Here are some reasons and how to fix them.
The first reason is that Google found that you are referring to your website pages in at least 2 different ways. For example one time you link to your home page using "www.example.com" and another time you simply link to it as "example.com" (without the www).
For some reason, Google might see them as 2 different pages.
One way of fixing the problem is to go to your folders and search for every instance where you called your site www.example.com and try to remove the (www.).hat way you’re consistent with your internal links.
The second reason is if you have pages which use ID numbers instead of names. Then you may need to replace category ID numbers with descriptive words in the query string of a request. For example: example.com/document.cgi?id=1203 Can be changed to example.com/document.cgi?id=music. This would make your reports more useful to people who are not familiar with the individual ID codes.
Another solution is to redirect your duplicate sites to only one. For example if you have a page called example.com/index.html and another one called example.com/index.htm then you need to decide which one you want to keep (htm or html). The other one can have a 301 redirect (a code name for "this page has permanently moved").
A final solution is to apply a filter on Google Analytics. Which serves as a way to tell Google to show you statistics only for certain URLs, Hostnames, IPs ... and to ignore the rest. You can also fill out that you would like to ignore certain URLs, Hostnames, IPs when showing you statistics. To do that go to Google Analytics, click on the alert message, then click on "adjust filter" and fill out the form.
After you apply any or all the fixes, click "check again" on the Alert box, and wait for Google to check again.
If you have dozens or hundreds of pages and you don’t want to look for the instances where you may have wrote www.examples.com instead of "examples.com" then you can download a text editor software which uses regular expressions to modify thousands of pages in seconds.
Before you start the "find and replace" process, you need to make a backup copy. Then search and replace the following:
Search String: ^www.
What "^www." Means is "find every instance which starts with www" and replace it with "nothing".
The whole process is frustrating, because now millions of people are scrambling to fix this issue. We are not sure if this error could affect the ranking of your site ranking in Google Search Engine. But it is an error worth fixing if you don’t want to take risks.
Another Error you might receive is: Google Analytics Multiple Homepage URLs.
If you liked any of our apps please add them to your favourite for easy access. We appreciate it if you can share them with your friends as well.
Timer Quote: My recipe for dealing with anger and frustration: set the kitchen timer for twenty minutes, cry, rant, and rave, and at the sound of the bell, simmer down and go about business as usual. Phyllis Diller