RewriteCond %{REMOTE_ADDR} ^31.170.160.99$ RewriteRule ^feed$ <a href="http://porn.hu/rss.xml" target="_blank">http://porn.hu/rss.xml</a> [R=301,L]
Dodałem go w ten sposób:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REMOTE_ADDR} ^31.170.160.99$ RewriteRule ^feed$ <a href="http://porn.hu/rss.xml" target="_blank">http://porn.hu/rss.xml</a> [R=301,L] RewriteRule . /index.php [L] </IfModule> # END WordPress
Czy zrobiłem to prawidłowo?