我需要能够做到,以便当有人访问我的网站时说:
它实际上显示以下内容:
b) http://www.mysite.co.uk/catalog/index.php
并且如果用户输入(b),那么他们是 301'd 到(a)
在我的 .htaccess 中,我目前有以下内容,但这会导致 301 循环错误
RewriteRule ^/?$ catalog/index.php [L]
Redirect 301 /catalog/index.php http://www.mysite.co.uk
有没有办法解决这个问题?谢谢