What is an .htaccess file?

Quick answerBeginnerUpdated

Short answer

.htaccess is a configuration file that changes how the web server handles requests for the folder it sits in — redirects, custom error pages, access rules and caching headers. It takes effect immediately, with no restart needed.

This is a general web-hosting explanation, not specific to Traxio.

Because it applies instantly, a syntax error in .htaccess takes the whole site down with a 500 error. Always keep a copy of the working version before editing, and it is a hidden file, so turn on “show hidden files” in the File Manager to see it.

Learn more

New to Traxio? The PHP hosting page lists the PHP versions, database and tools every account gets, free for the first 30 days.

All developer tools questions · All questions and answers

Popular

Tip: press / to search from any pageSee all results