Full width home advertisement

Post Page Advertisement [Top]

How to Reset Htaccess File of your Wordpress Site Using Ftp

Reset Htaccess File of your Wordpress Site

How to Reset Htaccess File of your Wordpress Site In some cases, changing the .htaccess file manually or changing it with a tool that has appropriate access will prevent the WordPress site from working. It may be all pages 404 or an error free white screen, or redirected to a strange place, or I can not log in. For me, for any occasion, I usually take an approach like a very broken computer (or my body for the problem) do. I start to clean it clean and fresh. Then slowly add a new "element" (with the best of abilities) that creates a checklist each time so that the new element does not cause grief to the overall system. That's what I want to show today. We are going to delete the .htaccess file and add back the key elements. Once the site is operational and you are able to log in, it's a good idea to add new elements (such as security enhancements) at that point. Little by little.

Reset Htaccess File of your Wordpress Site Using Ftp

Here Are Some Steps to Reset WordPress Site's htaccess File

The steps below assume that the FTP software (using FileZilla) is installed and that FTP details have been loaded into the Site Manager (these details can be obtained from the web host, often the host address, user name and password). Reset Htaccess File of your Wordpress Site If you do not have FTP software or are not familiar with FTP, you should read this tutorial to learn how to use FTP.
  • Log in to the server via FTP (or SFTP).
  • Sometimes the server's root is exactly where you need it, but if you installed WordPress in a subfolder, you can double-click it to browse.
  • Back up your existing .htaccess files. Right-click and click "Rename". Perhaps add "Backup" to the end of existing file names.
  • Double-click the backed up .htaccess file to download it. Check where on your computer!
  • Rename the file (file on user * computer) downloaded from FileZilla back to its original file name (.htaccess). This way, you'll be ready to shake when you upload after you've made your changes.
  • Opens the downloaded .htaccess file in a text editor.
  • Delete any text.
  • Copy the text below to the downloaded .htaccess file.
  • # BEGIN WordPress
  • <IfModule mod_rewrite.c>
  • Turn on the rewrite engine
  • RewriteBase /
  • RewriteRule ^ Index \ .php $ - [L]
  • RewriteCond% {REQUEST_FILENAME}! -f
  • RewriteCond% {REQUEST_FILENAME}! -d
  • RewriteRule. /index.php [L]
  • </ IfModule>
  • # End WordPress
  • Save the file.
Return to FileZilla and double-click the file on your computer to upload it back to the server. If you have done the steps correctly, .htaccess will not ask you if you want to overwrite the file because it does not exist on the server. (Because the original name changed but the name changed because the name changed). Test. If it does not work, please follow the steps above exactly and make sure you copied the text correctly. If that works, change your other changes one by one (starting with making one small change). Reset Htaccess File of your Wordpress Site Test again after the change. If it does not work, the reason should be clear. Just back up your steps.

No comments:

Post a Comment

Sign up by Putting Email Here

Bottom Ad [Post Page]