search
Log In
Welcome to Blogiestools Ask, a blogging community where beginner and professional bloggers come to seek answers from other bloggers’ experiences.

You can ask questions related to starting a blog, monetizing a blog, marketing a blog, managing a blog, fixing a problem, the best web tech tools to use, etc.

Register or log in to ask questions or edit comments.
0 votes
Should I redirect www to non-www URLs?
in Blog Optimization

1 Answer

0 votes

The importance of redirecting www to non-www URLs is that your content will be served from one URL. www and non-www are considered as different URLs and can lead to duplicate content problems which is not good for SEO.

Therefore, it is important to have all URLs displayed either as www or non-www. It does not matter which one you prefer to use.

You can add the redirect rule below to htaccess file to redirect www to non-www.

NOTE: replace blogiestools.com with your domain and remove space after .com


<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.blogiestools\.com [NC]
RewriteRule ^(.*)$ https://blogiestools.com /$1 [L,R=301]
</IfModule>

15.3k points
edited by

Related

0 votes
1 answer
Is there any benefit of concatenation of Javascript and CSS files
posted Nov 19, 2021 in Blog Optimization anonymous
0 votes
1 answer
Is it important to have datemodified in structured data
posted Nov 16, 2021 in Blog Optimization anonymous
0 votes
1 answer
Are rel canonical URLs necessary for SEO
posted Nov 16, 2021 in Blog Optimization anonymous
0 votes
1 answer
Is there any importance of using internal links in blog posts
posted Nov 9, 2021 in Blog Optimization anonymous
0 votes
1 answer
Importance of using image alt text in WordPress blog posts
posted Nov 9, 2021 in Blog Optimization anonymous