我有链接:
http://domain.com/app/codeigniter
在文件夹codeigniter的文件.htaccess中我有
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
域代码是wordpress,我有代码文件.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
但是当我访问http://domain.com/app/codeigniter时收到错误消息&#34; Page Not Not found&#34; wordpress
答案 0 :(得分:0)
对于动态子域codeigniter。
请通过流量链接访问此堆栈,发现它非常使用
How to implement dynamic subdomains in codeigniter with .htaccess?