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
-
What is the difference between "document" and "object" moved redirect errors?
What is the difference between "document" and "object" moved redirect errors? I'm used to see "object moved" as a redirect chain issue that needs to be fixed, but this week my report contained a "document moved" redirect chain issue. And it's on our homepage. Looks like it might be a HTTP versus an HTTPS issue.
Reporting & Analytics | | Kate_Nadeau0 -
Will noindex pages still get link equity?
We think we get link equity from some large travel domains to white label versions of our main website. These pages are noindex because they're the same URLs and content as our main B2C website and have canonicals to the pages we want indexed. Question is, is there REALLY link equity to pages on our domain which have "noindex,nofollow" on them? Secondly we're looking to put all these white label pages on a separate structure, to better protect our main indexed pages from duplicate content risks. The best bet would be to put them on a sub folder rather than a subdomain, yes? That way, even though the pages are still noindex, we'd get link equity from these big domains to www.ourdomain.com/subfolder where we wouldn't to subdomain.ourdomain.com? Thank you!
Reporting & Analytics | | HTXSEO0 -
Differences in site search revenue in GA
I just put in a piece of software to replace a really bad built in site search engine on my 3dcart website. Now I am trying to measure the change, but I am having some issues. When I check the ecom data in the conversions section of GA with the built in segment Performed Site Search, I get promising results. Approximately 5% revenue increase over LY. But if we jump to behavior, site search, usage, and then check the visits with site search, I get a decrease by 4%. And the actual revenue is off, by like double (150k compared to 80k) Anyone have any idea why I am getting these results? The site search function is set up. Tracking is enabled, query parameter is keyword and search url is /search.asp?keyword=
Reporting & Analytics | | ShockoeCommerce0 -
Google Analtyics during site redesign
Hi, We will be launching a new redesign for our website. There will be new URLs and navigation and almost everything (except for static pages like about and contact) will be different. The overwhelming opinion seems to say that it's important to keep the same Google Analytics profile. How can we compare the past URLs to the new ones if they are completely different. Does anyone have any experience in this? Did you create any segmentation? Thanks 🙂
Reporting & Analytics | | WSteven0 -
Why My Site Got 1000% increase in organic traffic from day to night?
Did Google run any update Monday or recently? My site www.shirts4geek.com, strangely had a 1000% organic traffic increase from day to night. I didn't do anything in this site for long a time... but Monday I had a lot traffic coming from organic and every other day this week the site is doing extremely well on traffic and sales. I'm ranking first page for many keywords relate to my products. I wish I could figure out what happens so I can replicate it. The site has very links and the On Page Optimization is kind of basic. Does any have any idea how it could be possible? Have any one seen something similar lately?
Reporting & Analytics | | Felip30 -
Impressions in GWT have dropped to nothing, but my page is still ranking normally
Hello Everyone, I'm seeing a strange issue. On the 22nd of this month Webmasters tools started showing 6 impressions per day down from hundreds or thousands. I thought I was hit with a huge penalty for my keywords but they are still ranking where they have for the past month or two on Google. In analytics my organic traffic is stable. It just seems to be GWT showing the massive drop. My domain is: http://Patchofland.com Any Thoughts? Thanks in advance!
Reporting & Analytics | | PatchofLand0 -
SERPS showing wrong page
Hi there, searching Google UK for the term 'wireless alarms' returns the following page at position 39'ish - http://www.compoundsecurity.co.uk/security-information/gsm-gprs-alarm-systems The page that should be returned for that search is - http://www.compoundsecurity.co.uk/security-equipment The page being returned by Google at present is not optimised in any way for 'wireless alarms' but the page it should be showing is optimised for that term and the Moz grading tool agrees. The correct page also has a higher PA and 533 inbound links and the page being displayed has a lower PA and only 3 links. Could some kind soul tell me what i am doing wrong please? Thank you Si
Reporting & Analytics | | DaddySmurf0 -
How to get a list of robots.txt file
This is my site. http://muslim-academy.com/ Its in wordpress.I just want to know is there any way I can get the list of blocked URL by Robots.txt In Google Webmaster its not showing up.Just giving the number of blocked URL's. Any plugin or Software to extract the list of blocked URL's.
Reporting & Analytics | | csfarnsworth0