开发者

htacces with two domains. Point domain1/folder to domain1/anotherfolder/

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜