How do you set a 301 redirect in .htaccess to add the forward slash to your document root if someone links to you without it?
According to the research I have done most search engines consider the following URL's as two different URL's.
mydomain.com (no forward slash)
mydomain.com/ (forward slash)
I've tried this (plus many others):
RewriteRule ^$ http://www.mydomain.com/ [R=301,L]
That throws it into a loop loading the page over and over.