Mobile app version of vmapp.org
Login or Join
Cofer257

: Not only with CNAME records, but also you can put .htaccess code for redirection: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} !^www. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/

@Cofer257

not only with CNAME records, but also you can put .htaccess code for redirection:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ www.%{HTTP_HOST}/ [R=301,L]
</IfModule>


This is a 301 redirect (which is permanent redirect.) After a few weeks the site will be visible with www in Google Search from that time.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Cofer257

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme