deleted .htacess

I deleted this from ftp by accident and now I get error when trying to access any of the blog post. Any way to restore this file?


  • drmike
    • DEV MAN’s Mascot

    heh What ya do that for? :slight_smile:

    This should be the contents of the .htaccess file. I say should be since plugins like wp-super-cache and avatars will modify it. Also the second line will need to be changed depending on your setup. If mu is installed within root, it should just be:

    RewriteBase /

  • Andrew
    • Champion of Loops

    You can check to see if your hosting provider has a backup. Otherwise you need to copy htaccess.dist to .htaccess, edit the file changing BASE/ to / and then make any necessary additions for plugins you may have installed.

    After that work up a backup routine :wink:



Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.