Mobile app version of vmapp.org
Login or Join
Kristi941

: 1) Do a 301 redirect from one to the other. Here is the code you can place in an .htaccess file in your webroot (change your_domain.com to be your actual domain): RewriteEngine on RewriteCond

@Kristi941

1) Do a 301 redirect from one to the other. Here is the code you can place in an .htaccess file in your webroot (change your_domain.com to be your actual domain):

RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.your_domain.com$
RewriteRule ^(.*)$ www.your_domain.com/ [R=301]


2) In Google Webmaster Tools you can set your preferred domain so Google knows which one you prefer.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Kristi941

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme