Redirection with www

Web domain redirection with (www)

In the SEO optimization of our website, it is very important to redirect our web domain with (www) since one of the main managers of web content indexing is, despite the fact that Google allows us to choose the indexing of our Content with (www or non-www) We are generally used to using (www) when searching for any website.

At this point the problems begin because if we have given our website indexing preference with (www) and our website is not redirecting correctly with ( this could be a serious problem for the indexing of our content on google.

To avoid this type of situation, it is highly recommended to create an .htaccess file in our root directory with the following instruction and replacing with your web domain.

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

If you have any questions, please feel free to contact Picaraza Domains support team 24/7/365.

Was this answer helpful?

Related Articles

Files .htaccess

What we can use a .htaccess file for The .htaccess (hypertext access) file is a supported...

Redirection to Port 443/http

Redirection of our website to Port 443/https In many cases, redirection to port 443 or HTTPS...

Restrict access with .htaccess

Redirect or restrict access to a directory with .htaccess A very important action is the...

Enable WordPress write permissions

WordPress rewrite permissions We can enable rewriting permissions in WordPress by creating a...