If you just landed on this page then I am pretty sure that you try to mess with your htaccess file and got an error of 502 Bad Gateway error or a white blank screen error. Even you are unable to access your WordPress dahboard. You can fix this error by simply reset your htaccess file on your WordPress website. The steps below assume that you have FTP software (I prefer FileZilla) installed and that you have loaded your FTP details into the Site Manager (you can get these details from your web host, and often this is simply: host address, username, and password).
If you don’t have any FTP client or you are not familiar with FTP then you should read this tutorial to learn how to use FTP tools.
That's it....
Now browse your website and it works perfectly. Now start doing other changes one by one. First, try to implement the small changes and then go for the large one. After each change re-check your website. This way you can find where the problem was previously on your .htaccess file.
Please share and comments your ideas regarding this post. If you find this post helpful, then please share it with your friends......