GLaDOS Posted October 7, 2012 Posted October 7, 2012 Hi if you're like me you probably want a www. in front of your domain well heres how to do itFirst open up cpanel and go to the file managerSecond look for the .htaccess in your public_htmlThirdlyOpen it up using the edit opitionFourthly add this to itRewriteEngine OnRewriteCond %{HTTP_HOST} ^yoursite [NC]RewriteRule ^(.*)$ http://www.yoursitename.yoursitedomain/$1 [L,R=301] Only change the yoursite, yoursitename and yoursitedomaindo not change anything else otherwise it wont workfiftly save the file and reload your site.six your site should have a www. infront of itexample: http://www.firemaster1337.co.cc and thats how you do it!
IshaanRodrigues Posted October 8, 2012 Posted October 8, 2012 You can do that simply by login to cpanel => Redirects Help: http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/ReDirects You need not manually do it as for that a layman needs to know what means what for any commands and Regex used.The above is the simplest possible way to do it.
Shinryuu Posted October 8, 2012 Posted October 8, 2012 Seems tacky really, most people avoid using www because it's implied in modern browsers, why add it to the address bar when people don't want to type it?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now