Plugin
Force WWW (formerly "Wrong Sever") forces correct server name in 3 ways: Forces server name to have OR not have WWW prefix. Prevents use of IP address in place of server name. Prevents DNS errors.
Most plugins by DEZZIGNZ require a license key which is validated against a server name. If your server can be accessed in both ways, with and without the WWW prefix, you need to use the
Force WWW plugin!
Additionally,
Force WWW is useful for:
Force WWW is available for purchase on Jamit Market. If you already own any plugin by DEZZIGNZ, you can get your
Force WWW for
FREE if you
contact Colossal Mind.
Why is Force WWW plugin useful for SEO?Google as well as all of the other major search engines frown upon duplicate content. What is duplicate content? It’s basically a situation where the same page of content can be accessed from different URLs. For example: http://YourDomain.com and
http://www.YourDomain.com. Let’s assume the both of these URLs link to the same page. Most web hosting services will allow both forms of the URL. However, this “duplicate content” on your website can significantly decrease your search engine ranking.
If you are lucky to have the Apache server, you can force your server name to be with or without WWW easily with a rewrite rule in .htaccess file. However, not everyone has Apache server, AND
Force WWW has additional functions that cannot be achieved by the Apache rewrite rule alone.
I conclude that
Force WWW is good to have for everyone!
You should use the Apache rewrite rule as well as the Force WWW plugin.
To force www using .htaccess:
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^domain\.com [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
</IfModule>
To force without www using .htaccess:
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.domain\.com [NC]
RewriteRule ^(.*)$ http://domain.com$1 [R=301,L]
</IfModule>