Have you ever mistyped your WordPress site URL and rendered your site inaccessible? If so, there’s an easy fix for that problem.
If you have FTP access to your website, you can get your site up and running pretty quickly. To do so, perform the following steps:
1. FTP to the site, and get a copy of the active theme’s functions.php file. You’re going to edit it in a simple text editor (like Notepad) and upload it back to the site.
2. Add these two lines to the file, immediately after the initial “