简体   繁体   中英

htaccess tow subfolder codeigniter

i have link:

http://domain.com/app/codeigniter

in file .htaccess of folder codeigniter i have

RewriteEngine on RewriteCond $1 !^(index\\.php|resources|robots\\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L,QSA]

code of domain is wordpress and i have code file .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>

but when I visit http://domain.com/app/codeigniter receive an error message "Page Not found" of wordpress

For dynamic sub domains codeigniter.

Please visit this stack over flow link found it very use full

How to implement dynamic subdomains in codeigniter with .htaccess?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM