URL Canonicalization
.
How to Fix
In order to pass this test you must consider using a 301 re-write rule in your .htaccess file so that both addresses (http://example.com and http://www.example.com) resolve to the same URL.
- If you want to redirect http://www.example.com to http://example.com, you can use this:
- If you want to redirect http://example.com to http://www.example.com, you can use this:
Note that you must put the above lines somewhere after RewriteEngine On line.