Skip to content

Glossary Hosting

.htaccess

A per-folder configuration file for Apache-compatible web servers, used for redirects, rewrites, access rules and headers.

Updated

Also known as: htaccess file

.htaccess lets you change web server behaviour for a folder and everything below it, without editing the main server configuration. Common uses include HTTPS and domain redirects, WordPress permalinks, blocking IP addresses and setting security headers.

Because a single typo can cause a 500 error on every page, keep a backup copy before editing. Nginx doesn’t read .htaccess files.

Share X LinkedIn Facebook

Log in to your account

Manage your domains, hosting and invoices in one place.

Secure connection straight to the ZSOLNET client area.

No account yet?