Codeigniter not working when changing the directory of the project or goes live

I hope most of them are had this headache.

This is a¬†url rewrite issue. It’s really easy to fixed. But always you will forget to do it.

When you are coping files to other directory it get issue with current .htaccess file and their RewiteBase path.

What do you have to do it, Just copy old .htaccess file content and create new .htaccess file under new project location live or local and paste the code.

Dont forget to change the “RewriteBase” path.

Try Your self and find .htaccess sample code here.

Please comment if you have issues.

Be the first to comment

Leave a Reply

Your email address will not be published.