.htaccess

.htaccess Tutorials and Commands

Redirecting with .htaccess

Redirecting with .htaccess

Using the following .htaccess code, you can redirect your users to another destination. In this example we are redirecting the visitors to a "Under Construction" page (construction.php). Make sure you upload your .htaccess files in ascii mode, sending it up as binary will break it and usually make your server unhappy and don’t forget that .htaccess does not work if you’re on...

Read More

.htaccess Overview

.htaccess Overview

What is .htaccess? .htaccess is a configuration file for use on web servers running the Apache Web Server software. When a .htaccess file is placed in a directory which is in turn ‘loaded via the Apache Web Server’, then the .htaccess file is detected and executed by the Apache Web Server software. These .htaccess files can be used to alter the configuration of the Apache Web Server...

Read More