How To Edit .htaccess File Straight From WordPress Dashboard

How To Edit .htaccess file straight from WordPress Dashboard

.htaccess is a very important file which is responsible for many different features. It is responsible for many errors like 503, 403 , forbidden, etc.

This file can be accessed via the Cpanel. This file can be accessed via the web, ftp client like : FileZilla. Whenever you need to edit it for any purpose , you need to use either the Web Cpanel or the Ftp client.

However, accessing the .htaccess file from the Cpanel or ftp clients takes time. It would be great if we could edit it straight from the WordPress dashboard. Today we will show you how to access or edit the .htaccess file from the dashboard.

How To Edit .htaccess file straight from WordPress Dashboard

Method 1 : Using WP Htaccess Editor

We all hate to go to the cpanel or file zilla for editing files. Even though most of the stuffs can be done from WordPress dashboard except htaccess. However, there are some pllugins which will allow you to edit your .htaccess file from the WordPress dashboard.

WP Htaccess Editor is such a plugin which gives you the ability to edit your .htaccess file straight from the WordPress dashboard. This is a huge time saver for lazy a$$ people like us. This plugin not only allows you to edit it but gives you the option to restore a backup if you messed up.

Edit .htaccess file straight from the WordPress dashboard

 

How To Install And Use WP Htaccess Editor

  1. Go to WP Htaccess Editor
  2. Download it
  3. Upload it via the “add new” option from plugin menu
  4. Or you can extract it in the wp-content/plugins via cpanel or filezilla
  5. Now from the left bottom corner, you will see the Setting, hover over your mouse and select the htaccess
  6. You can edit the file from there
  7. It will look like the image below

editing htaccess with wordpress plugin WP Htaccess Editor

Method 2 : WordPress SEO by Yoast: Edit Files

Seo by Yoast is a very popular plugin which allows you to do many stuffs from the dashboard. It even allows you to edit the .htaccess and robots.txt files. many people are using this plugin for SEO purpose. If you haven’t installed it then may be this is the time you get this installed.

  1. Go to Yoast
  2. Select tools
  3. Click on “file Editor
  4. Now you can edit the .htaccess and robots.txt file from there
  5. It will look like below

htaccess yoast

 

I hope you have successfully edited the .htaccess file from your WordPress dashboard. Please note that any wrong editing might cause massive failure in your site. So if you are planning to change the codes of .htaccess file, you better know what you are doing.

These are currently the simplest ways of editing .htaccess file from WordPress dashboard. We will update this article if there are any other ways To Edit .htaccess file straight from WordPress Dashboard. Happy blogging !!!

One Response

  1. Pingback: How To Enable GZIP Compression in WordPress December 6, 2015
  2. Itender Rawat January 3, 2017

Leave a Reply

By continuing (scrolling) to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close