WordPress.org

Forums

[resolved] Have I been hacked? Simple .htaccess question. (4 posts)

  1. windgellc@yahoo.com
    Member
    Posted 2 years ago #

    Have I been hacked?

    I noticed the .htaccess file was changed a few days ago. Downloaded a copy and compared to an older backup I have.

    Here's the old:

    # BEGIN WordPress

    # END WordPress

    Here's the new:

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

    # END WordPress

    I did recently change my theme, but that was on the 18th. The last change was on the 29th, the same day a developer had access to it.

  2. The new .htaccess listed above is the correct WordPress .htaccess rules for using pretty permalinks. http://codex.wordpress.org/Using_Permalinks . WordPress will write the rules to the file whenever permalinks are saved or updated.

  3. windgellc@yahoo.com
    Member
    Posted 2 years ago #

    Okay, thank you so much!!

  4. windgellc@yahoo.com
    Member
    Posted 2 years ago #

    Resolved

Topic Closed

This topic has been closed to new replies.

About this Topic