Www and non www versions of the site: 301 redirects but I still get impressions on the wrong version
-
hallo,
I moved from www.bastabollette.it to bastabollette.it, setting a 301 redirect.
If I check google search console, I still get impressions and looks like all old www pages are stille indexed. (see attached)
why? how can I fix this?
thank you
-
Bene!
I just crawl your site and i found that almost everywhere links are correct. PM me in private to sent you links that are http://www. or https://www.
BUT - the problem is that there isn't redirect 301 for the PDFs... Example: https://www.bastabollette.it/wp-content/uploads/2013/11/MODULO-DISDETTA-CONTRATTO-CON-NOTE1.pdf should redirect to https://bastabollette.it/wp-content/uploads/2013/11/MODULO-DISDETTA-CONTRATTO-CON-NOTE1.pdf but redirect won't happen and www return "200 OK". This is serious bug and affect all PDFs. Situation is even worse because this is also for CSS and JSs: https://www.bastabollette.it/wp-content/plugins/jetpack/css/jetpack.css?ver=3.8.1 or https://www.bastabollette.it/cdn-cgi/scripts/zepto.min.js Yeah... could be worse? YES! Images too https://www.bastabollette.it/wp-content/uploads/2015/08/logo2.png or https://www.bastabollette.it/wp-content/uploads/2015/09/Cattura-002.jpg
So why this is important? You was need to make unconditional sitewide 301 redirect to www to non-www. Your redirect is partial and seems that affect only html files. If you're in Apache just need to do this in .htaccess.
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.(.)$ [NC]
RewriteRule ^(.)$ http://%1/$1 [R=301,L]If you're on other servers - LiteSpeed, nginx or IIS just contact me and i will provide commands for them.
-
hey Peter!
sto molto bene grazie!
grazie moltissime for your answer.
-
yes I already set preferred domain in SearchConsole
-
I did not set canonical pages to new domain BUT i 301 redirected all traffic for www to non-www. isn't that enough?
-
yes I changed wordpress so that default is now non-www
-
I am gradually changing all the links to the internal pages as well as all assets to non-www (but it's huge since I am doing manually.
Anyway since I 'told' google that my site is now non-www (submitting new site maps, setting up 301s and the configurations above) I really can't understand why google still indexes the old non-www.
Any hint?
Thank you again
-
-
Ciao Giorgio! Come stai?
Did you use set preferred domain in SearchConsole? https://support.google.com/webmasters/answer/44231?hl=en
You also need to set canonical pages to new domain (non-www). And also change in WordPress that default is now non-www. And change link to all pages (internal) from www to non-www. And after this you need to change link to all assets (JS/CSS/Imgs/PDFs/etc) to non-www.I bet that your move was partial because some of point above isn't make correct.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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
-
Non Interaction Event Should be True or False?
Hi Experts, I have done event tracking for my ecommerce site via tag manager. I have query on non interaction event should be True or false . Add to cart event Scroll Tracking Banner Clicks Discontinue product So in above all event I have to set false or true non interaction event? If possible give me reason why true or false. Like - as per me add to cart event non-interaction should be set to false. A visitor lands on a product detail page, clicks on the add to cart button and leaves the website. What how it will affect bounce rate here? Thanks!
Reporting & Analytics | | dsouzac0 -
Should Google Trends Match Organic Traffic to My Site?
When looking at Google Trends and my Organic Traffic (using GA) as percentages of their total yearly values I have a correlation of .47. This correlation doesn't seem right when you consider that Google Trends (which is showing relative search traffic data) should match up pretty strongly to your Organic Traffic. Any thoughts on what might be going on? Why isn't Google Trends correlating with Organic Traffic? Shouldn't they be pulling from the same data set? Thanks, Jacob
Reporting & Analytics | | jacob.young.cricut0 -
Site relaunch and impact on SEO
I have some tough decisions to make about a web site I run. The site has seen around for 20 years (September 1995, to be precise, is the date listed against the domain). Over the years, the effort I've expanded on the site has come and gone, but I am about to throw a lot of time and effort back into it. The majority of the content on the site is pretty dated, isn't tremendously useful to the audience (since it's pretty old) and the site design and URL architecture isn't particularly SEO-friendly. In addition, I have a database of thousands vendors (for the specific industry this site serves). I don't know if it's a factor any more but 100% of the links there have been populated by the vendors themselves specifically requesting inclusion (through a form we expose on the site). When the request is approved, the vendor link shows up on the appropriate pages for location (state) and segment of the industry. Though the links are all "opt-in" from vendors (we've never one added or imported any ourselves), I am sure this all looks like a terrible link farm to Google! And some vendors have asked us to remove their link for that reason 🙂 One final (very important) point. We have a relationship with a nationwide brand and have four very specific pages related to that brand on our site. Those pages are essential - they are by far the most visited pages and drive virtually all our revenue. The pages were put together with SEO in mind and the look and feel is very different to the rest of the site. The result is, effectively, a site-within-a-site. I need to carefully protect the performance of these pages. To put some rough numbers on this, the site had 475,000 page views over the last year, with about 320,000 of those being to these four pages (by the way, for the rest of the content "something happened" around May 20th of last year - traffic almost doubled overnight - even though there were no changes to our site). We have a Facebook presence and have put a little effort into that recently (increasing fans from about 10,000 last August to nearly 24,000 today, with a net gain of about 2,500 per month currently). I don't have any sense of whether that is a meaningful resource in the big picture. So, that's the background. I want to totally revamp the broader site - much improved design, intentional SEO decisions, far better, current and active content, active social media presence and so on. I am also moving from one CMS to another (the target CMS / Blog platform being WordPress). Part of me wants to do the following: Come up with a better plan for SEO and basically just throw out the old stuff and start again, with the exception of the four vendor pages I mentioned Implement redirection of the old URLs to new content (301s) Just stop exposing the vendor pages (on the basis that many of the links are old/broken and I'm really not getting any benefit from them) Leave the four important pages exactly as they are (URL and content-wise) I am happy to rebuild the content afresh because I have a new plan around that for which I have some confidence. But I have some important questions. If I go with the approach above, is there any value from the old content / URLs that is worth retaining? How sure can I be there is no indirect negative effect on the four important pages? I really need to protect those pages Is throwing away the vendor links simply all good - or could there be some hidden negative I need to know about (given many of the links are broken and go to crappy/small web sites, I'm hoping this is just a simple decision to make) And one more uber-question. I want to take a performance baseline so that I can see where I started as I start making changes and measure performance over time. Beyond the obvious metrics like number of visitors, time per page, page views per visit, etc what metrics would be important to collect from the outset? I am just at the start of this project and it is very important to me. Given the longevity of the site, I don't know if there is much worth retaining for that reason, even if the content changes radically. At a high level I'm trying to decide what questions I need to answer before I set off on this path. Any suggestions would be very much appreciated. Thanks.
Reporting & Analytics | | MarkWill0 -
Google Analytics Page Metrics and Redirects
Hi All- Context: A site has been redesigned. Pages were renamed in the process. Problem: It's very hard to compare before and after metrics because the page URLs are not the same. Question: Anyone know how to do this in Google Analytics? I'm hoping there's some simple trick I just don't know about. D
Reporting & Analytics | | DonnaDuncan0 -
Google Analytics - Still Seeing Keyword Data
Hi, I hope you can answer this question for me, obviously I'm aware of the changes regarding "not provided" in analytics however I am still getting keyword referral data in analytics (not much of course!) in the section Acquisition>Keyword>Organic Can anybody explain why I am still seeing organic keyword data even up until yesterday for the odd term? I cannot find an answer anywhere!!! Many thanks
Reporting & Analytics | | splendidapple1 -
Will 301 redirects (Same Domain) show as referral traffic in Analytics?
For an eCommerce site we have 301'd legacy product pages to new product pages. Is all that traffic going to show up as referral traffic from our own domain in Google Analytics? If so, is there any way to preserve original source/medium info or will all the source/medium info be our own domain since there is a 301 redirect?
Reporting & Analytics | | bozzie3111 -
Human Representation on a site
Hello Friends, thank you for helping in advance. My website http://www.FrontlineMobility.com gets a lot of traffic and with our Google Adwords campaigns we have very good click through rates(percentages from 1 percent to 4 percent). So I know that I am getting people to my site, but I can't get them to spend money. It seems like they get there ready to buy, but something turns them away at the last moment. My Partner feels like we should put more pictures of people on the site so that people feel like there is a face to our company. I am also in agreement with this, but I would also like to know if anything else is wrong with our site that perhaps maybe another set of eyes could perceive. Thank you again Moz friends. Justin Smith Frontline Mobility
Reporting & Analytics | | FrontlineMobility0 -
I have recently switched from a html site to a Wordpress based one...
Obviously all my indexed links have changed. How can I avoid loosing page rank?
Reporting & Analytics | | HeadlandMachinery0