Hey guys! Can you please advise me how to modify my .htaccess so that
http://example.com (non-www without trailing slash)
http://example.com/ (non-www with trailing slash)
http://www.example.com (www without trailing slash)
will be permanently redirected (301) to
http://www.example.com/ (www with trailing slash)
?
Additionally, are there general rules to apply this "behavior" to subfolders
http://example.com/subfolder
http://example.com/subfolder/
http://www.example.com/subfolder
=> http://www.example.com/subfolder/
and subdomains (reversely here)
http://www.subdomain.example.com
http://www.subdomain.example.com/
http://subdomain.example.com
=> http://subdomain.example.com/
as well? As I'm completely new to this, please be kind... =)
Thanks! Nel