Only apply the following suggestions if you are getting 404 error not found, the default bdtask any codeigniter application .htaccess file should work well on most servers.
If you are getting 404 not found after you install
Make sure that you have mod_rewrite enabled on your server.
If you are using OSX make sure you have enabled to show hidden files otherwise the .htaccess won’t be uploaded to the server. (if it’s skipped you need to turn on show hidden files and re-upload in the application root directory)
Installation on a subfolder.
This .htaccess may apply if you installed
RewriteEngine on
RewriteBase /foldername/
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
AddDefaultCharset utf-8
Installation on subdomain
RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
AddDefaultCharset utf-8
Getting an error 500 and you are using cPanel
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ subfolder/index.php?/$1 [L,QSA]
AddDefaultCharset utf-8
1&1 Installation
For 1&1 hosting use the following .htaccess
RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|resources|robots\.txt|static) [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/?$1 [L,QSA]
If you have any question please email us: [email protected]