Well, the .htaccess file is the file which is responsible for the errors like 503, 403, forbidden and so on. Usually this file is hidden by default in the cPanel. However, to edit this file we use FileZilla or other FTP client software that installs in the computer. But it’s much typical way of editing the file .htaccess, then I came across additional two ways of editing this file in WordPress. Both are much effective yet easy to accomplish. So, I’m going to let you know that both of ways that I learnt so far about how to edit .htaccess file from WordPress dashboard.

Two Ways to Edit .htaccess file from WordPress Dashboard

1. WP Htaccess Editor

This simple .htaccess file editor is only for experienced users and from now you can edit the file called .htaccess from your WordPress dasboard rather than using FTP client.

WordPress Htaccess Editor

WP Htaccess Editor

Installations and Usage:

  1. Download the .zip file
  2. Extract the .zip into wp-content/plugins directory
  3. Come back and activate the plugin through the Admin panel of your WordPress
  4. Under Settings -> Htaccess

WP htaccess Editor01

5. Now, you’ll probably see the content present in your .htaccess file currently like:

content of Htaccess file Editor

2. WordPress SEO by Yoast: Edit Files

Both .htaccess and robots.txt files play very important roles and one of the best SEO plugin WordPress SEO by Yoast gives you the ability to edit both files.

Robots.txt is the file which allow the search engine robots to read about your website content and then show that content in the search engines, here what a screenshot for the file editor of WordPress SEO by Yoast:

Robots txt file editorTo edit the .htaccess file using WordPress SEO by Yoast’s edit files feature, you will be able to edit the file much like you edited the robots.txt file above.

Edit .htaccess files

These are the both simple ways that I was talking about editing file called .htaccess and I hope you will like both.

How People found this article: