RewriteEngine on RewriteBase /one-api/ RewriteCond $1 !^(index\.php|assets|user_guide|robots\.txt) RewriteRule ^(.*)$ /one-api/index.php/$1 [L]