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
-
Does intercom support pages and redirect issue can affect the SEO performance of our website?
I noticed that in the redirect issues I have, most of the issues are coming from our Intercom support links. I want to ask, does intercom support pages and redirect issue can affect the SEO performance of our website?
Reporting & Analytics | | Envoke-Marketing0 -
AMP Version Disappears
Hey, Moz fans. I am wondering why my AMP version shows in SERP some time and disappear again!!! there is no Error in AMP validator. Please help me. Landing: https://www.bimetime.com/blog/pasargad-life-insurance/amp
Reporting & Analytics | | DivarOfficial0 -
PDF web traffic hitting our site
Hi there, Over the last few months our traffic has spiked due to irrelevant pdf documents sending us crap traffic, our bounce rate is sky high as well as other metrics. I don't want to just filter out this traffic in GA rather try and stop our site from being attacked. Any advice on a way forward would be great. Thanks
Reporting & Analytics | | ICMPmarketing0 -
Lower Impression higher clicks and CTR Compared to Previous Month?
I'm looking at our monthly traffic report and noticed that impressions were down in October compared to September but Clicks and CTR increased. I'm thinking it's because certain keyword increased in rank thus increase chances of a click through? Anyone else have any idea? Thank you in advance. Here is the data below: September:
Reporting & Analytics | | davidwang
Total clicks: 5071
Total impressions: 83429
Avg. CTR: 6.08%
Avg. Position: 28.4 October:
Total clicks: 5695
Total impressions: 79366
Avg. CTR: 7.18%
Avg. Position: 28.90 -
Linked my adwords account to GA and vice versa and still paid search is getting recorded into organic traffic??
Hi Mozzers, I have linked properly my adwords account to GA and vice versa and somehow I can see 3/4 of this paid traffic recorded to organic search. The most confusing part is that I can see 1/4 of the paid traffic under the "paid" metric. At this point I don't know really what should I do? Thank you guys in advance!
Reporting & Analytics | | Ideas-Money-Art0 -
Why am i still seeing very recent organic kw traffic being reported in Analytics if G is now fully encrypted ?
Why am i still seeing very recent organic kw traffic being reported in Analytics if G is now fully encrypted ? Should it not all be 'Not Provided' now ? When this fully roles out if not already wont it be impossible to distinguish between brand and non brand kw ? Cheers Dan
Reporting & Analytics | | Dan-Lawrence1 -
Google Webmaster Tools is showing wrong data - help?
Hey all, I'm seeing some weird problems with Webmaster Tools. Specifically: We've submitted a sitemap with 174k URLs. According to the WMT dashboard, only 21 are indexed, though if you search our site via site:sitename.com blah blah, there are thousands of pages returned. Why is WMT only showing 21 indexed pages? Yet if I go to Health -> Index Status, it's showing nearly 199k URLs indexed. This seems consistent with searching Google site:sitename.com blah blah. Under "Search Queries", it's showing "no data available". Not sure why as it's linked to the proper Google Analytics account, which has keyword data. Any ideas what I'm doing wrong here? Thanks.
Reporting & Analytics | | chimptech0 -
Why do I get lots of traffic from a bizarre keyword?
Bit of an odd one but I've been getting a large and steady stream of traffic over the last few months from a very random keyword that according to addwords figures shows "on data". Its our second biggest referring term only beaten by our brand name. We get more traffic from this term than keywords we have invested a lot of time in that show thousands of traffic volume in addwords. When looking at behavioral data its gets odder, a bounce rate of 98.11% time on site 2 seconds and page visits 1.02. So this traffic isn't real traffic and it's not real people. So my questions are, what is it? why do we get this random traffic, has anyone els noticed things like this and is it a problem? I presume it must be something to do with some sort of spam but apart from that i'm stumped. It's just one of those things that has been bugging me so I would appreciate any help. Kind Regards Paul
Reporting & Analytics | | pauldoffman0