Our Blog

News, thoughts & useful links

Contact: Skype , email or call
+44 (0) 131 556 6818

How to restore your WordPress .htaccess file

January 14th, 2009 by Anton

If you deleted your .htaccess file (or lost it somehow) here is how you can restore the default one:

  • Create a new blank .htaccess file in your WordPress directory via FTP or SSH.
  • Change permissions to 777. Log-in to your dashboard. Navigate to settings, permalinks, and update permalinks (choose any option there). When done, change the .htaccess permissions back to 644.


One Response to “How to restore your WordPress .htaccess file”

  1. Jack Rugile says:

    Thank god for this. I was messing with some stuff, trying to fix a problem, and it just ended up making things worse. Now, because of your help I am back to where I was atleast :) Thank you!

    Note to self: know what I am doing before I mess with .htaccess

    - Jack Rugile