Title: Htaccess File Editor &#8211; Safely Edit Htaccess File
Author: WebFactory
Published: <strong>March 24, 2011</strong>
Last modified: May 21, 2026

---

Search plugins

![](https://ps.w.org/wp-htaccess-editor/assets/banner-772x250.png?rev=2010647)

![](https://ps.w.org/wp-htaccess-editor/assets/icon-256x256.png?rev=2010639)

# Htaccess File Editor – Safely Edit Htaccess File

 By [WebFactory](https://profiles.wordpress.org/webfactory/)

[Download](https://downloads.wordpress.org/plugin/wp-htaccess-editor.1.73.zip)

[Live Preview](https://wordpress.org/plugins/wp-htaccess-editor/?preview=1)

 * [Details](https://wordpress.org/plugins/wp-htaccess-editor/#description)
 * [Reviews](https://wordpress.org/plugins/wp-htaccess-editor/#reviews)
 *  [Installation](https://wordpress.org/plugins/wp-htaccess-editor/#installation)
 * [Development](https://wordpress.org/plugins/wp-htaccess-editor/#developers)

 [Support](https://wordpress.org/support/plugin/wp-htaccess-editor/)

## Description

[WP Htaccess Editor](https://wphtaccess.com/) provides a **simple, safe & fast way**
to edit, fix & test the site’s htaccess file from WP admin. Before saving, htaccess
file can be tested for syntax errors. It also automatically creates a htaccess backup
every time you make a change to the htaccess file. Htaccess backups can be restored
directly from the plugin, or via FTP if the errors in htaccess file prevents WP 
from running normally. Great for fixing htaccess errors. For all questions, including
support please use the official [forum](https://wordpress.org/support/plugin/wp-htaccess-editor).

Access WP Htaccess Editor via WP Admin – Settings menu.

**If you’re having problems with SSL or HTTPS try our free [WP Force SSL](https://wordpress.org/plugins/wp-force-ssl/)
plugin. It’s the easiest way to enable SSL and fix SSL problems.**

#### Testing Htaccess Syntax

Use the “test before saving” button to test htaccess file syntax before saving. 
Please note that this test does not check the logic of your htaccess file, ie if
the redirects work as intended. It only checks for syntax errors. If you need to
fix htaccess file we suggest restoring it to the default version and then add custom
code line by line.

#### Automatic Htaccess Backups

Htaccess Editor makes automatic backups of htaccess file every time you make a change
to it. Backups are located in `/wp-content/htaccess-editor-backups/` and timestamped
so you can easily find the latest htaccess backup and restore it.

#### WordPress Network (WPMU) Support

WP Htaccess Editor is fully compatible and tested with WP Network (WPMU). It shows
up under the Settings menu in network admin. It’s not available in individual sites
as there is only one htaccess file per network.

The plugin was originally developed by [Lukenzi](https://profiles.wordpress.org/lukenzi)
in March of 2011.

#### GDPR compatibility

We are not lawyers. Please do not take any of the following as legal advice.
 WP
Htaccess Editor does not track, collect or process any user data. Nothing is logged
or pushed to any 3rd parties nor do we use any 3rd party services or CDNs. Based
on that, we feel it’s GDPR compatible, but again, please, don’t take this as legal
advice.

## Screenshots

[⌊WP Htaccess Editor admin page⌉⌊WP Htaccess Editor admin page⌉[

WP Htaccess Editor admin page

[⌊Actions have to be double-confirmed to prevent accidents⌉⌊Actions have to be double-
confirmed to prevent accidents⌉[

Actions have to be double-confirmed to prevent accidents

[[

## Installation

Follow the usual routine;

 1. Open WordPress admin, go to Plugins, click Add New
 2. Enter “htaccess editor” in search and hit Enter
 3. Plugin will show up as the first on the list, click “Install Now”
 4. Activate & open plugin’s settings page located under the Settings menu

Or if needed, upload manually;

 1. Download the latest stable version from from [downloads.wordpress.org/plugin/wp-htaccess-editor.latest-stable.zip](https://downloads.wordpress.org/plugin/wp-htaccess-editor.latest-stable.zip)
 2. Unzip it and upload to _/wp-content/plugins/_
 3. Open WordPress admin – Plugins and click “Activate” next to “WP Htaccess Editor”
 4. Open plugin’s admin page located under the Settings menu

## FAQ

### I’ve killed my site! Help!?

Nothing is lost or deleted. You can easily get your site back.
 You’re probably 
getting an error 500 or a white screen (of death). First connect to your site via
FTP and locate the .htaccess file. Delete it, or rename it. Try the site again –
it should open. If it did locate the backup of the old, working .htaccess file in`/
wp-content/htaccess-editor-backups/` copy the file to your site’s root folder and
you’re back in business.

### I get an error saying the .htaccess file can’t be edited or created

Sorry, we can’t change the file access privileges set by your server. You’ll have
to edit the file via FTP.

Head over to our [support forums](https://wordpress.org/support/plugin/wp-htaccess-editor).
We’ll gladly assist you.

### How do I get support?

Head over to our [support forums](https://wordpress.org/support/plugin/wp-htaccess-editor).
We’ll gladly help you.

### Do you support WP-CLI?

Not yet, but we plan to.

### How can I report security bugs?

You can report security bugs through the Patchstack Vulnerability Disclosure Program.
The Patchstack team help validate, triage and handle any security vulnerabilities.
[Report a security vulnerability.](https://patchstack.com/database/vdp/wp-htaccess-editor)

## Reviews

![](https://secure.gravatar.com/avatar/871b43db516d0570cdfa30443a3c60128ff0c1934b04b76e1b9f6cb143494812?
s=60&d=retro&r=g)

### 󠀁[Reduce Plugin Overhead](https://wordpress.org/support/topic/reduce-plugin-overhead/)󠁿

 [stevewizard](https://profiles.wordpress.org/stevewizard/) January 7, 2026

Review in 2025/2026…After many years of using plugins to do redirects, 410 rules,
browser cache etc. I now just use chatGPT to write my htaccess and WP htaccess editor
to implement it. This method has helped me clean my htaccess from 1400 lines built
up over 3 versions of the website over 15 years to currently 270 lines. BIG SAVINGS
in overhead.

![](https://secure.gravatar.com/avatar/15fb84635c304663ee27a6654ad79fe11052aaa916919870cf4b4fc63f886db3?
s=60&d=retro&r=g)

### 󠀁[Works well](https://wordpress.org/support/topic/works-well-3114/)󠁿

 [Quentin Le Duff (–Q–)](https://profiles.wordpress.org/quentinldd/) October 24,
2025

Using in on a hosting that don’t display the .htacess in FTP, it’s working well !
🙂

![](https://secure.gravatar.com/avatar/e3e0d8e887f6d59a8d67cd7fc0cdc663a2996a5334d6f1dee2b8e3f6f60da276?
s=60&d=retro&r=g)

### 󠀁[Thank you](https://wordpress.org/support/topic/thank-you-3634/)󠁿

 [STELIAXE](https://profiles.wordpress.org/steliaxe2cath2ma/) May 2, 2025

esay to use

![](https://secure.gravatar.com/avatar/3fe7393bf55b0ae2120b305207943df2e078c2b32e5cc90920d7ded3e4abbede?
s=60&d=retro&r=g)

### 󠀁[Excellent plugin](https://wordpress.org/support/topic/excellent-plugin-9529/)󠁿

 [marguy1](https://profiles.wordpress.org/marguy1/) April 3, 2025

Works well without any issues.

![](https://secure.gravatar.com/avatar/ffe66f2f998cadeae2cc4081300bb832380be3cc46fbd9f3deac2065e74aab08?
s=60&d=retro&r=g)

### 󠀁[Recommended](https://wordpress.org/support/topic/recommended-467/)󠁿

 [sysstem](https://profiles.wordpress.org/sysstem/) March 7, 2025

The plugin does exactly what it’s supposed to, and better. It’s a great help to 
edit the .htaccess without needing to go to the hosting, or when access to the hosting
isn’t available.

![](https://secure.gravatar.com/avatar/b4dc4c4d331e11e7e09cbacbb28bea6fbb6e3440f04c2ee562809b0f665d144a?
s=60&d=retro&r=g)

### 󠀁[Excellent work](https://wordpress.org/support/topic/excellent-work-337/)󠁿

 [John Koumpouras](https://profiles.wordpress.org/johnkoumpouras/) November 16, 
2024

A must hsve utility if you work with apache server. Very quick,minimum impact at
the dashboard. Excellent work!

 [ Read all 102 reviews ](https://wordpress.org/support/plugin/wp-htaccess-editor/reviews/)

## Contributors & Developers

“Htaccess File Editor – Safely Edit Htaccess File” is open source software. The 
following people have contributed to this plugin.

Contributors

 *   [ WebFactory ](https://profiles.wordpress.org/webfactory/)

“Htaccess File Editor – Safely Edit Htaccess File” has been translated into 4 locales.
Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/wp-htaccess-editor/contributors)
for their contributions.

[Translate “Htaccess File Editor – Safely Edit Htaccess File” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-htaccess-editor)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-htaccess-editor/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-htaccess-editor/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-htaccess-editor/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-htaccess-editor/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### v1.73

 * 2025/08/11
 * Minor code fixes

#### v1.72

 * 2024/07/10
 * Minor security fixes
 * Introduction of PRO

#### v1.71

 * 2022/11/21
 * Minor security fixes

#### v1.70

 * 2021/03/04
 * PHP 8 fixes

#### v1.67

 * 2021/01/30
 * added flyout menu

#### v1.66

 * 2020/10/17
 * minor bug fixes

#### v1.65

 * 2019/08/16
 * fixed a few bugs
 * new feature: test htaccess file for syntax errors before saving
 * new feature: htaccess backup
 * 50,000 installations hit on 2019-08-10

#### v1.60

 * 2019/03/12
 * fixed a few bugs
 * new: editor size is persistent; saved in localStorage
 * menu item moved from Tools to Settings
 * full WordPress Network (WPMU) compatibility

#### v1.55

 * 2019/01/15
 * added code editor resize feature
 * fixed a few bugs
 * 40k installations hit on 2019-01-09 with 172,000 downloads

#### v1.50

 * 2018/12/21
 * WebFactory took over development
 * complete plugin rewrite
 * 30,000 installations; 162,200 downloads

#### v1.3.0

 * Added Spanish translation (Thanks to Andrew Kurtis from WebHostingHub.com)
 * Updated design
 * Updated info links

#### v1.2.0

 * Improved code
 * Improved design
 * Improved security
 * Removed debug panel
 * Updated translations
 * Updated links
 * Updated screenshots
 * Adding plugin logo

#### v1.1.1

 * Fixed CHMOD

#### v1.1.0

 * Adding Czech and English language
 * Adding debug panel
 * Added information about the author and translators
 * Fixed vulnerability
 * Fixed bug loading translations files
 * Optimized for minimum memory requirements
 * Small code modifications

#### v1.0.1

 * Adding button for create .htaccess file if not exists
 * Fixed bug in the permissions to view the plugin
 * Optimized for smaller memory requirements

#### v1.0.0

 * 2011/03/24
 * First stable version
 * Adding to WordPress repository

## Meta

 *  Version **1.73**
 *  Last updated **1 month ago**
 *  Active installations **40,000+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 5.2 or higher **
 *  Languages
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/wp-htaccess-editor/), [Dutch](https://nl.wordpress.org/plugins/wp-htaccess-editor/),
   [English (US)](https://wordpress.org/plugins/wp-htaccess-editor/), [Japanese](https://ja.wordpress.org/plugins/wp-htaccess-editor/),
   and [Russian](https://ru.wordpress.org/plugins/wp-htaccess-editor/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/wp-htaccess-editor)
 * Tags
 * [file editor](https://wordpress.org/plugins/tags/file-editor/)[htaccess](https://wordpress.org/plugins/tags/htaccess/)
   [htaccess editor](https://wordpress.org/plugins/tags/htaccess-editor/)
 *  [Advanced View](https://wordpress.org/plugins/wp-htaccess-editor/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  99 5-star reviews     ](https://wordpress.org/support/plugin/wp-htaccess-editor/reviews/?filter=5)
 *  [  2 4-star reviews     ](https://wordpress.org/support/plugin/wp-htaccess-editor/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/wp-htaccess-editor/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-htaccess-editor/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-htaccess-editor/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-htaccess-editor/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-htaccess-editor/reviews/)

## Contributors

 *   [ WebFactory ](https://profiles.wordpress.org/webfactory/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-htaccess-editor/)