I have a hotel with two domains. Now the customer wan开发者_JS百科t a redirect:
domain1.dk/folder/ [nothing should happen]
domain2.dk/folder/ -> domain1.dk/anotherfolder/
The two URL's above (domain1.dk/folder/, domain2.dk/folder/) does not exist in the navigation structure today.
I am not sure if htaccess is the way to go when there are more thant one domain and the subfolders should be trated differently.
BR. Anders
P.S. site is build in TYPO3, it is an apache server and php as programming language
Found a soulution that is not using .htaccess - it is a bit of a TYPO3 specific workaround partly done by the extension for TYPO3 called real_url
精彩评论