我的服务器由 Hostgator 托管,具有多个这样的域
在根目录下安装了我的主站点,并且我有名为 web_sites 的子文件夹,现在安装了我的其他域,问题是当我尝试访问我的子文件夹时,例如http://www.xyz.com/subfolder/ 它可以工作,但是当我尝试访问类似 http://www.xyz.com/subfolder/category/furniture的内容时,现在子文件夹也有 .htaccess 文件,所以它显示我在http://www.xyz.com 上找不到页面
那是因为根 .htaccess 没有使内部 .htacess 文件工作有什么解决方案这是我的 .htaccess 文件
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
这是子文件夹内的 .htacess
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^home/$ index.php [L,QSA]
RewriteRule ^search_result/$ search_result.php [L,QSA]
RewriteRule ^pages/([-A-z0-9]+)/? pages.php?url=$1 [L,QSA]
RewriteRule ^user/([-A-z0-9]+)/? author.php?username=$1 [L,QSA]
RewriteRule ^cms/([-A-z0-9]+)/? cms.php?url=$1 [QSA,L]
RewriteRule ^location_posts/([-A-z0-9]+)/? city.php?city=$1 [L,QSA]
RewriteRule ^topcat/([-A-z0-9]+)/([-A-z0-9]+)/? categories.php?id=$1&name=$2 [L,QSA]
RewriteRule ^maincat/([-A-z0-9]+)/([-A-z0-9]+)/? main_categories.php?id=$1&name=$2 [L,QSA]
RewriteRule ^posts/([-A-z0-9]+)/([-A-z0-9]+)/? post_description.php?id=$1&name=$2 [L,QSA]
RewriteRule ^special/([-A-z0-9]+)/? special_detial.php?url=$1 [L,QSA]
RewriteRule ^specials_products/$ specials_products.php [L,QSA]
RewriteRule ^pricing/$ printing_pricing.php [L,QSA]
RewriteRule ^custom_design/$ custom_design.php [L,QSA]
RewriteRule ^registration/$ registeration.php [L,QSA]
RewriteRule ^portfolio/$ portfolio.php [L,QSA]
RewriteRule ^custom_quote/$ custom_quote.php [L,QSA]
RewriteRule ^templates/$ templates.php [L,QSA]
RewriteRule ^all_templates/$ download_templates.php [L,QSA]
RewriteRule ^recent_posts/$ recent_posts.php [L,QSA]
RewriteRule ^current_auctions/$ current_auctions.php [L,QSA]
RewriteRule ^anil_lal/$ info.php [L,QSA]
Ps 我试图通过搜索 none is working 来找到我的解决方案。