Support » Fixing WordPress » permissions for htaccess and xml files

  • dtclarinet


    I have had trouble with improper access to some of my files, and some have been corrupted. I am in the process of cleaning.

    Regarding permissions, should htaccess files be 777 or 755?

    Also, there is one htaccess file in one blog directory with this code-

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /muse/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /muse/index.php [L]
    # END WordPress

    The file ends with a .d

    This looks suspicious. I ask because I need to know how serious it may be that this file as been on my blog for awhile.

    Also, I have sitemap plugins working. (I don’t know which one off hand) Should the permissions for sitemaps (.xml and xml.gz) be 777 or 755 or less?

    Thanks for any help.

  • The topic ‘permissions for htaccess and xml files’ is closed to new replies.