Redundant Hostnames Issue in GA
-
I noticed another post on this, but I have another question. I am getting this message from Analytics:
Property http://www.example.com is receiving data from redundant hostnames. Consider setting up a 301 redirect on your website, or make a search and replace filter that strips "www." from hostnames. Examples of redundant hostnames: example.com, www.example.com.
We don't have a 301 in place that manages this and I am quite concerned about handling that the right way. We do have a canonical on our homepage that says:
rel="canonical" href="http://www.example.com/" /> I asked on another site how to safely set up our 301 and I got this response:
RewriteCond %{HTTP_HOST} !^www.example.com$ [NC]
RewriteRule ^ http://www.example.com%{REQUEST_URI} [R=301,L,NE]Is this the best way of handling it? Are there situations where this would not be the best way?
We do have a few subdomains like beta.example.com in use and have a rather large site, so I just want to make sure I get it right.
Thanks for your help!
Craig
-
Rewrites are generally regarded as the best way to handle this kind of redirect, but your DNS provider likely has their own redirect system in place that can implement the same functionality without modifying your site's .htaccess. Same result, different technique.
The reason I use my DNS with a "www" subdomain record to forward to my non-www domain is because WordPress sometimes has issues with using RewriteRule. It seems to break permalinks. I always just set it once with my DNS host and never think about it again.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
If some rooted domains providing back links to a website are from the same server, would it cause an issue?
My client with alliedautotransport.com has a brother that owns hundreds of relevant websites that has great content on there, however, if we have him do some back linkings from those pages from the same server, would it hurt the rankings or make a difference?
Technical SEO | | SeobyKP1 -
Crawler issues on subdomain - Need resolving?
Hey Guys, I'm fairly new to the world of SEO and have a ton of crawler issues with a friends website I'm doing some work on. After Moz did a site crawl I'm getting loads of errors (Total of 100+ for critical crawler, content and meta data). Most of these are due to broken social links on a subdomain - so my question is do I need to resolve all of the errors even if they are on a sub-domain? Will it affect the primary website? Thanks, Jack
Technical SEO | | Jack11660 -
Possible duplicate content issue with my Blog and archive pages . Any help greatly appreciated
Dear Mozzers, I have been looking at my news section on my eCommerce site and I think I may have a duplicate content issue and wanted some advice on whether I do and if so , how best I handle this. http://www.website.co.uk/news
Technical SEO | | PeteC12
http://www.website.co.uk/news/page:1
http://www.website.co.uk/news/page:2
http://www.website.co.uk/news/page:3
http://www.website.co.uk/news/limit:9999 (This is show all) I also have the ability of showing articles by month : http://www.website.co.uk/news/archive/2015/04 (April)
http://www.website.co.uk/news/archive/2015/03 (March)
http://www.website.co.uk/news/archive/2015/02 (Feb)
http://www.website.co.uk/news/archive/2015/01 (Jan) I am wondering if there's a duplicate issue here or not given that I also articles by month as well and if so how best I handle this.? I already do pagination on my news pages (page 1 , page 2) by using rel=next and rel=Prev but I don't have an canconical or anything as yet. I enclose a couple of links if this would help and would appreciate if someone could take a browse. I have a View All link on my homepage for for all news items - http://goo.gl/JPPIvQ I which have a different urls - March 2015 Articles - http://goo.gl/0O1wYD and April 2015 articles - http://goo.gl/GdW2oK On another note, These articles are also linked to from the relevant category landing pages on my website to help with SEO. I have not used H tags on the article links in my landing pages , just displaying the weblink back to the news article.I've done this to try and improve the PR and rankings of my landing pages. Just wondered if anyone has any comments as to whether thats a good or bad idea and whether I could improve it in any way - An example is here (scroll down the page to the pressure washing guides) - http://goo.gl/nnRE49 Thanks Pete0 -
404 issues
Hello, Some time ago, something like a month and a half) I have removed all 404 errors from the google index and the webmaster tools have removed them already, however yesterday moz found the same 404 errors that i have removed from indexing (tose pages are deleted or redirected by the site developer). What could be an issue here and why webmaster tools are not registering those 404 errors but moz analytics does. And the other question is if those pages do not exist can i track where the placed? I tried dowloading moz crawl test, but the refering source was not provided. I would highly appreciate anyones help. Thank you
Technical SEO | | rikomuttik0 -
Duplicate content issues arise 6 months after creation of website?!
Hi, I've had the same website for 6 months and fixed all original on-site issues a long time ago.Now this week I wake up and found 3 new errors: 3 of my pages have missing titles issues, missing meta description issues and also the Moz crawl says they all have duplicate content issues. All my rankings went down a lot as well. This site is static, doesn't even have a blog, everything is rel canonical and non-indexed. It's 100% original content as well. So how can those issues arise 6 months later? All my titles and descriptions are there and non-duplicate, and the content is original and not duplicate as well. Is this a wordpress bug or virus? Anyone had this happen to them and how to fix it? Thanks a lot for you help! -Marc
Technical SEO | | marcandre0 -
Can these Yoast SEO integration issued be solved?
I had a site analysis done by the Yoast team. Of course, one of their recommendations was to install the Yoast SEO product. I see that there are many independent sources highly recommending it. But my programming is coming back with some concerns. My website is www.heartspm.com, for anyone who is interested in further analysis of my issue. My programmer's notes follow. Unfortunately, they are a bit to cryptic: "1. it does not do all for us anyway, so we'd have to keep the one's I made
Technical SEO | | GerryWeitz
before anyway, at least partially, but it will add up to complexety, loading
time as all new, and especially one-size-fits all plugins 2. another problem - Simple Press forum. Yoast does not have an extention for it, nor is it going to work along with our existing forum's SEO handling solution. So, it's
either reverting back to original SEO handling or forgetting Yoast. 3. original handling means no meta description although I think Yoast will put just
one description for each page, and title will be something like "<forum <br="">title> - <topic title="">whatever else you may want" 4. the same thing with XML sitemap 5. we won't be able to use Yoast's because it won't handle cities 6. and hopefully it will work with our existing XML sitemap solution as this can be turned off" Now, The Yoast team admitted and logically said that the Yoast plugin cannot support another plugin and therefore it does not support forums. We currently integrate the forum into our Wordpress site and perhaps imperfectly, but we are able to append forum links to the xml sitemap. Do any of you have insight into how one incorporates a forum into a Wordpress blog while using Yoast SEO?</topic></forum> We have special parameter based handling of cities. We used to pass codes like city=?zip and the like. Now, the URLS are very clean looking, but they use templates to match up cities in a city table with content that is somewhat similar, yet customizable. So my programmer seems to be saying that the Yoast tool doesn't seem to handle templates well or is not able to interpret it and get it into a sitemap. Do any of you have insight into using Yoast SEO with Wordpress sites that use templates and variables for locals or something of a similar nature? The Yoast SEO module also has switches to help resolve issues with duplicate content and archives and authors and multiple pages, i.e. page 1-10 of Latest News. If I can't use the whole Yoast module, are there ways to use only parts of it or to strip it down to what I want? Do you think with the above considerations, that the Yoast SEO module is not worth the trouble? Thanks in advance, Humbly, Gerry0 -
E-commerce solution and subdomain issues
Hello All,
Technical SEO | | CherieP
In light of Wil Reynold's closing keynote at Portland's Searchfest, I thought I might try posting here to get some advice. We run a family business on the side and we're looking at starting to use volusion.com for our e-commerce solution. The catch is we currently have a wordpress site summitmining.com running on thesis with great SEO. Ranking #1 & #2 for our highest trafficked terms. Ideally, I'd like Summitmining.com to direct to the Volusion store and then summitmining.com/blog to go to our wordpress installation BUT since the volusion site will be hosted with the company and they will not host our wordpress installation we'd have to use a subdomain instead of a subdirectory which I understand will be bad for SEO. Does anyone have any recommendation on how to set this up without totally screwing up our ranking OR any recommendations of an easy to use shopping cart (I've worked on a magento site before and it's too complex for us) that wouldn't require a separate or subdomain? Thank you so much!
-Cherie Prochaska
503-816-3557
[email protected]
@cherieprochaska0 -
How to create GA Profile for SEOMoz
Hi ! I get this : Oh No! We did not find any Google Analytics profiles associated with this account. So I was wondering how to create GA Profiles for SEOMOZ. I'm admin of 3 websites in my GA accounts ... Thanks !
Technical SEO | | ovivo0