Never Miss an Update! Subscribe for FREE to Lunartics via RSS!

Create Your Own .htaccess with cPanel

By Mitch “cPanel is Your Friend” Keeler

Your .htaccess file, with any Apache based server or hosting account is a very powerful tool that if you can learn to use for your advantage can help you complete many time consuming or difficult tasks with ease. How do you create one though for your web hosting account? This is a question that we get here time to time, and here is your solution.

Login to your cPanel with your user name and password, then once you have made it in, head over to your File Manager. Now the File Manager’s interface is a very familiar Windows-styled look at your files on your hosting account. You will want to click on your folder icon next to your public_html link next, that will take you to the insides of the public_html folder.

Inside you will see all your web site files. You need to scan down the page till you see the bold text, Create a New File. Click that and you should get in the upper-right corner a box with a few more setting to fill in. In the empty text box, put in .htaccess. Keep the drop down box on Text Document and then hit the Create button.

Now you have your .htaccess file inside of your public_html folder all with the help of cPanel and your helpful File Manger.

| More

One Response to “Create Your Own .htaccess with cPanel”

  1. Lunartics Big Red Flameseph Says:

    Thanks for the tip, broseph!

    Here’s some more information.

    here, kids: http://en.wikipedia.org/wiki/Htaccess

    The .htaccess file can be used to redirect users, allow/deny users to index listings or other places, rewrite urls, manage caching of different files, turn on php directives and more.

    We use it here at Lunarpages all the time. You don’t even know….

More Hosting Help!