我需要使用。htaccess重定向请求
http://example.com =>https://example.com/subdirectory
http://www.example.com =>https://example.com/subdirectory
https://example.com =>https://example.com/subdirectory
https://www.example.com =>https://example.com/subdirectory
,但我执行以下操作重定向不想在地址栏中显示子目录的url应为https://example.com我的网站文件位于子目录中,但我需要为每个请求隐藏在地址栏中。
但它显示出在地址栏中的子目录名称和https://example.com没有按” t重定向到https://example.com/subdirectory – 2010-07-06 06:02:20