How can we help?

Search our guides and tutorials, or browse the categories below.

What is htaccess and How to Use It?

Force HTTPS

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Disable Directory Listing

Options -Indexes

Custom Error Pages

ErrorDocument 404 /404.html
ErrorDocument 500 /500.html

Protect wp-config.php

<Files wp-config.php>
Order Allow,Deny
Deny from all
</Files>
Was this helpful?

Thanks for your feedback!

Still Need Help?

Our support team is here around the clock for anything you can't find above.