这可能是几THI NGS。
1(从您的配置文件中删除索引页面(应用程序/配置/ config.php文件)
$config['index_page'] = '';
2(你有BASE_URL这样的:
$config['base_url'] = 'http://yourdomain.com/';
注意/
在最终
3(试试这个的.htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond %{REQUEST_URI} ^LoginTut.*
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond $1 !^(index\.php|images|table-images|js|robots\.txt|css|captcha)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 index.php
</IfModule>
是'WWW'您的网站的根文件夹? – bottleboot
你的rewritebase是错误的,它是相对于文档根目录 如果你的doc根目录是/ var/www/html /你的rewritebase应该是/ site – ikhsan
@ikhsan yes我以同样的方式,如果不行这是不正确 – bottleboot