[英]Htaccess and wordpress in subfolder
所以我將WordPress放在子文件夾/ members /中
而且我在根文件夾中只有一個.htaccess,只有這兩行:
DirectoryIndex /closed.html
ErrorDocument 404 /closed.html
當我轉到mydomain.com/members/時,它將重定向到closed.html頁面。
我非常感謝您的幫助。
在您的/members/.htaccess
在上面添加以下行以覆蓋父.htaccess
設置的指令:
ErrorDocument 404 default
DirectoryIndex index.php
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.