htaccess file with duplicate WordPress lines
-
I upgraded the plugin to the 4.6.4 version and everything seems to work properly but I checked my htaccess file and I found that the WordPress rules between the relative comments (# BEGIN WordPress and # END WordPress) are repeated 3 times.
Is it safe to remove the duplicates by editing manually the htaccess file?
Another thing. If I want to add some custom rules to the htaccess, for example to block some IP addresses, I receive a 500 internal error on the website. How I can implement such rules?
I tried to put in this:
<Limit GET POST>
order allow,deny
deny from 123.456.78.9
deny from 987.654.32.1
allow from all
</Limit>after all the rules (iTS and WordPress)
Thanks for any suggestion.
- The topic ‘htaccess file with duplicate WordPress lines’ is closed to new replies.