Htaccess not working

Username (e.g. epiz_33257482) or Website URL

i don’t get any error message but htaccess file is not working i am using codeigniter so i need to edit htaccess file file content is below
(please share the FULL error message you see)

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/welcome/$1 [L]

Can you please fill out the template next time?

What is your URL?

What is not working? What is it supposed to do?

We can’t help you if you don’t give us the information we need.


I want to make a redirect for codeigniter for example it needs to redirect /index path to /welcome/index site url:

If you are using CodeIgniter (or any other framework) and want to redirect a specific URL, I think the best way to do so is to just setup a route and controller for /index which produces a redirect to /welcome/index.

The .htaccess rules control how files are loaded in your account. Seeing how routing is done entirely within the framework code, and CodeIgniter routes don’t exists as-is as files on disk, editing CodeIgniter’s .htaccess rules will just break you site.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.