I started my blog a month ago and was using non www version for my website.

Then, I recently decided to stick to www.example.com version. So I changed it and Google has indexed the www version properly if I search www.example.com in Google search, I can see the meta description and title that I use.

I also added a redirect in .htaccess based on my research from a Google search:

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

Now the problem is my non www version is also showing up in Google search and it does not have any meta description etc and basically wrong. So what do I need to do with non www version of site?

Do I need to do a noindex? But where would I put it? (I don't have separate page for no-www).

  • 1
    Do each of your pages contain a <link rel="canonical" href="https://www.[…]" /> ? – Ray Butterworth Oct 13 '19 at 13:06
  • 1
    How long ago did you implement the redirect? – Stephen Ostermiller Oct 13 '19 at 13:19
  • 1
    Welcome to Webmasters! If you are properly redirecting non-www to www using a 301, then all you have to do is be patient. Google is notoriously slow. Be patient and it will all work out. We webmasters want our sites to be successful soon if not today or tomorrow. The problem is, creating a website is an exercise in patience - it is a slow process. Take this time to keep working on your site and know that if you do your work well, your site will succeed as it should. Cheers!! – closetnoc Oct 13 '19 at 14:17
  • 1
    "it does not have any meta description etc" - Can you show a screenshot please? What search query are you using? Are you perhaps using a site: search? – DocRoot Oct 13 '19 at 17:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.