I've got a hotel with two domain names. The customer desire a redirect:

domain1.dk/folder/ [nothing should happen]

domain2.dk/folder/ -> domain1.dk/anotherfolder/

The 2 URL's above (domain1.dk/folder/, domain2.dk/folder/) doesn't appear in the navigation structure today.

I don't know if htaccess is what you want when you will find more thant one domain and also the subfolders ought to be trated in a different way.

BR. Anders

P.S. website is build in TYPO3, it's an apache server and php as programming language

Found a soulution that's not using .htaccess - it's a little of the TYPO3 specific workaround partially made by the extension for TYPO3 known as real_url