标签: wordpress .htaccess redirect joomla
所以我有一个托管帐户,要求您使用域代表您的根,然后所有子域都在域文件夹中,这似乎是程序员的噩梦。所以我需要知道的是有一种方法可以将html或.htaccess文件放在根目录中,并将所有子域文件夹放在www.example.com上,直接到www.example.com/organizedfile并显示www.example 。ur在网址栏中,以便它看起来不像重定向?
答案 0 :(得分:0)
Imo您应该在mod_rewrite个文件中使用.htaccess。
mod_rewrite
.htaccess
http://httpd.apache.org/docs/current/mod/mod_rewrite.html