Build Your Own Business Website header image

Welcome to our Members Only Forum

You are welcome to view the content on our Forum, just scroll down to view this forum post.
If you like what you find and want to be able to post a question, please check out our subscription options.
Please feel free to search the forum using either the Google Site Search above or the forum search below.

Avatar
Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Google analytics says there are redundant host names and to use 301 redirect - how?
Avatar
Dennis T
Greensboro, NC
Jedi
Members

Community Member
Forum Posts: 67
Member Since:
November 1, 2014
sp_UserOfflineSmall Offline
1
February 13, 2015 - 5:44 am
sp_Permalink sp_Print

What should I do to accomplish this suggestion from google analytics? I presume doing this will also help with SEO, in addition to the analytics report. How/should do I do the 301 redirect? 

“Property http://www.elderlawfirm.com is receiving data from redundant hostnames. Some of the redundant hostnames are:

Redundant hostnames are counted as separate rows in reports, so hits that are going to the same page on your site from different hostnames will be split into multiple rows. With data split across multiple rows, traffic to specific pages will appear lower than it actually is.

To avoid this problem, consider setting up a 301 redirect from one of your redundant hostnames to the other, or create a search-and-replace filter that strips “www.” from hostnames.”

Thanks! 

Avatar
Rick Anderson
Desert Hot Springs, CA
Admin
Forum Posts: 12878
Member Since:
November 8, 2009
sp_UserOfflineSmall Offline
2
February 13, 2015 - 11:26 am
sp_Permalink sp_Print

First – what is the canonical url? http://www or no www?

Avatar
Dennis T
Greensboro, NC
Jedi
Members

Community Member
Forum Posts: 67
Member Since:
November 1, 2014
sp_UserOfflineSmall Offline
3
February 14, 2015 - 6:18 am
sp_Permalink sp_Print sp_EditHistory

Hi Rick.

I’d like for the site to be found as http://www  Feels like a lot of moving parts, and I may be missing something. 

DNS: If this is dns related…we changed the dns a couple of weeks ago after having troubles reaching the site using both www and not-www. After some trial and error now either version reaches the site, so I thought it was solved but perhaps not? If this is dns related, here is what it was changed to (attached). 

Wordpress: On wordpress admin settings for the site URL, I was advised to have the both URL set without http://www…but that seems inconsistent and perhaps part of the problem? (I also notice that if I enter the site via http://elderlawfirm.com/wp-admin it gives a redirect message in the browser address, to the www admin login page, but it works to let me into the site)

Google analytics: Google analytics is set to use www as the preferred name

Thanks in advance for helping me understand this!

DNSScreenShot-1.jpg

sp_PlupAttachments Attachments
Avatar
Rick Anderson
Desert Hot Springs, CA
Admin
Forum Posts: 12878
Member Since:
November 8, 2009
sp_UserOfflineSmall Offline
4
February 15, 2015 - 8:31 am
sp_Permalink sp_Print

Yeah, you are sending a mixed message to Google.  Set your URL in Settings >> General to the WWW version.  This will resolve the conflict.  Part of the problem is that you tell Google the preferred is WWW, but your site says the canonical is without WWW.

Forum Timezone: America/Los_Angeles

Most Users Ever Online: 228

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Keith W Jones: 1137

Brian Tozer: 1004

Pierre Cote: 936

Carolin: 913

Heidi Hafner: 413

John Cunningham: 405

Newest Members:

Kevin Stecyk

Carol Behrens

Frank Waters

Deva Wheeler

Radek Simcik

Bill Christie

Forum Stats:

Groups: 8

Forums: 46

Topics: 6549

Posts: 32372

 

Member Stats:

Guest Posters: 6

Members: 6545

Moderators: 7

Admins: 2

Administrators: Rick Anderson, Rick Anderson

Moderators: Glenn Bryan, Gelie Laxamana, Jorene, Melissa, Robert Begun, wpengine, Laura Nugent