1. Web Design
  2. Workflow

Quick Tip: Point Visitors in the Right Direction With .htaccess

Scroll to top
Read Time: 1 min

Today we're going to cover a few simple tricks you can perform with your .htaccess file which will make your visitors that bit happier.

View Screencast

Alternatively, Download the video, or subscribe to Webdesigntuts+ screencasts via iTunes or YouTube!


Firstly, it's likely you'll want to direct your visitors to a definite location, irrespective of the exact url they enter. This can be taken a step further by specifying friendly urls. Lastly, we make sure that directory listing is disabled, preventing users from browsing the contents of our directories.

This final snippet enables the Gzip module. Gzip compresses your files server-side, before sending them to the browser for extraction. As you can imagine, this speeds up download times quite significantly..

Additional Resources

Did you find this post useful?
Want a weekly email summary?
Subscribe below and we’ll send you a weekly email summary of all new Web Design tutorials. Never miss out on learning about the next big thing.
Looking for something to help kick start your next project?
Envato Market has a range of items for sale to help get you started.