Hello Emir
Sorry for my bad english.
i wont chanche the olt domaine to a new domain name and i wont redirect all URL
From
www.example.com/test to
www.example.de/testI added the following code in the .htaccess, but it does not work
can you helph my ??
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]
RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
RewriteCond %{HTTP_HOST} ^example.com
RewriteRule (.*)
http://example.de/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www.example.com
RewriteRule (.*)
http://example.de/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^example.com/ferienwohnungen-ferienhaeuser-italien/
RewriteRule (.*)
http://example.de/ferienwohnungen-ferienhaeuser-italien/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^example.com/italien-unterkuenfte/
RewriteRule (.*)
http://example.de/italien-unterkuenfte/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^www.example.com/italien-unterkuenfte/
RewriteRule (.*)
http://www.example.de/italien-unterkuenfte/$1 [L,R=301]