Hello everybody with my first post.
I have problem with 301 redirect in wordpress .htacces file.
My 301 redirect is from one adress to another in one domain (I've changed CMS from Joomla to Wordpress) - my domain has now simple link like: http://www.mydomain.com.pl/news-name - so I need 301 redirect.
I using this code:
RewriteEngine On
RewriteCond %{HTTP_HOST} (www.)?mydomain.com.pl$ [NC]
RewriteRule component/content/article/35-aktualnoci/xxxxxx.html(\/.)?$ xxxxxx/ [R=301,L]
RewriteRule component/content/article/35-aktualnoci/yyyyyy.html(\/.)?$ yyyyyy/ [R=301,L]
...
...
...
and I don't know in which line of wordpress .htaccess file I have to put my code?
Wordpress .htacces looks like this:
# 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
Can anybody help with this?