There are lots of reasons why you would want to access your website’s .htaccess file: performing URL redirection, defining custom error pages, etc. Whatever the reason, you first need to locate the file on your host server. This article explains how.
htaccess
Working With The .htaccess File
If you have done any web development or website maintenance work, then you must have come across the .htaccess file at some point. This is an important file for many reasons and this guide will provide an overview of what the .htaccess file is, what you can do with it, how to create it, and options available to you for editing it on your WordPress website.