SLee and Topher

Two Guys on Gaming, Tech, and the World

How to Make an .htaccess File

June 27, 2013 By AvidNetizen Leave a Comment

Apache is a great open source web server, but the configuration files are as clear as hieroglyphics. Fortunately there’s an easy way to get the configuration settings you need. Keep reading to find out how to make an .htaccess file with ease.

httpd.conf or .htaccess?

If you have access to the main Apache directory, you should probably be making most of your changes in the httpd.conf file. It’s less server-intensive that way. 

However, if you’re in a hosting environment where you can’t access the main configuration file, sometimes the .htaccess file is the only option you have.

How to Make an .htaccess File with Ease

You could spend hours upon hours reading the documentation over at the Apache website, or you could take an easier approach: have your .htaccess file generated for you automatically.

How to make an .htaccess file

The Free .htaccess Redirect Generator

So, this generator won’t write every type of configuration rule; it’s only for redirects. But that’s still a great shortcut to getting Apache to cooperate. 

Using this generator, you can make your file in 3 easy steps:

  1. Go to the generator (http://www.htaccessredirect.net/index.php)
  2. Enter your redirection rules
  3. Click the “generate” button

The generator spits out your code, and then all you have to do is put the code in your .htaccess file and load that on your server.

Too bad all configuration files aren’t that easy.

Filed Under: Internet

Get More Stuff Like This In Your Inbox!

Sign up for more free content from SLee and Topher, delivered straight to your inbox.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Get the Best Games

Looking for something new to play? Check out BestGamesList.com for the best games 2017 has to offer.

Connect with S&T

Get Free Updates

Enter your email address for free updates on video games and technology from SLee And Topher.

Support SLee & Topher and earn rewards using Ebates:
Ebates Coupons and Cash Back

Must See Stories

Netflix Download and Go

Downloading TV Shows and Movies on Netflix

Retrieve iPhone IMEI

Android Wear: Google’s Wearables Platform Is Here

Domo for NHK

9 Famous Tech Mascots and Their Colorful Backstories

Official ‘Batman: Arkham Knight’ Trailer Reveals Driveable Batmobile

Site Builder Banner for iPage – 250x250

Copyright © 2025 ·Magazine Pro Theme · Genesis Framework by StudioPress · WordPress · Log in