3. Get your code

4. Copy the code to your .htaccess file

About www Htaccess Redirect Generator

It is important for seo to only have one version of your website that is being indexed. You can use this htaccess redirect generator to force your website to resolve only to for ex: http://example.com or http://www.example.com.

You can also claim which version you want Google to indexed within your Google webmaset tools account under site setttings / preferences.