i have a wee bit of a problem.
I’m currently working on a website addition to a running site. now the current website is written in a random framework which i was not able to recognize, and because the addition is rather extensive i’m doing it from scratch using CodeIgniter.
now i added my files to the server under and leading file name of ‘business.php’.
calling my page works well with ‘www.mysite.com/business.php’ but when i’m trying to call a controller with a CI call like ‘www.site.co/business.php/myController’ i get an error caused by the server default call to the index.php file first and that has another way of treating URIs.
can anyone please tell me what can i do to bypass the original file?
tnx for the time and help.
ok! 🙂 after some long research i’ve found an answer.
what i’ve done was to move the business.php file into a dedicated folder along with the System and Application folders, once that’s done i’ve created a second .htaccess file with the above given code and placed it in the same sub-folder.
and finally, instead of calling to ‘mysite.com/business.php/myController’ i need to call to ‘site.com/business/business/php/myController’
that way BOTH sites work perfectly fine!
another thing though, i’d love it if some one could tell me what code to i need to use in the .htaccess file to change all my long URL to a nicer one, i’ve tried the common commands but they didn’t work.
thank you all so very much for your tries.