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! Quote
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. Quote
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? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.