Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

User:Traveller/Recovering Lost htaccess Files

This article is a ROUGH DRAFT. The author is still working on this document, so please do not edit this without the author's permission. The content within this article may not yet be verified or valid. This information is subject to change.

Recovering Lost .htaccess Files

If you are in a situation where you deleted your old .htaccess files during an upgrade, but cannot find one in the WordPress download and do not have a backup, you can recreate one by going to the Permalinks Options SubPanel and clicking on Update Permalink Structure.

Note that this will only recreate a stock WordPress .htaccess file, any previous modifications done by you will not be recreated.