Hi! How to redirect every viewer of the site from http:// to http://www.? The redirect should be permanent and it should include every file and every directory! My current .htaccess looks like this: IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* <Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName mydomain.com Code (markup): I haven't modified it. The website uses CPanel. Thanks!
Thanks for the answer, thewebhostingdir! But before adding anything to my .htaccess I would like to know what's the actual difference between these two codes? In the first one the redirection method is written with letters (R=permanent) but in the second one it's with numbers (R=301). Does it make a difference? And why is there no $ in the end of the third string in the first code while there is in the second one? (^mydomain\.com vs. ^mydomain\.com$ [NC]) And what does the [NC] do? Just wondering Thanks!