Forums

[resolved] The wrong modified .htaccess (1 post)

  1. ps75
    Member
    Posted 1 year ago #

    Hello, I wanted to block two users their IP addresess, because they spam my forum. I saved the instructions, where is described this blocking, but it did not there described, how it to import to the wordpress.
    I have had to write this:

    # BEGIN WordPress

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

    deny from xxx.xxx.xxx.xxx
    deny from xxx.xxx.xxx.xxx

    # END WordPress
    ____________________________________
    But I wrote this:

    #BEGIN WordPress

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

    # END WordPress

    order allow, deny
    deny from xxx.xxx.xxx.xxx
    allow from all

    order allow, deny
    deny from xxx.xxx.xxx.xxx
    allow from all
    ____________________________________

    I have very big problem with my login on my sites. If I want tu open http://www.penizenanetu.eu, my sites notify ERROR.
    I need your help, how to get my sites to original sort. I would like to open my sites.
    What can I to do?

    Thank you for your answer.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.