paparts Posted March 4, 2009 Share Posted March 4, 2009 test site: http://www.example.com I have a folder in my ssh panel that has html/example.com and in it I have a system folder that consists of the codeigniter files so the path for my code igniter is html/example.com/system... I created a folder that is located at html/example.com/mynewfolder an in there i have some php files and when I access it on the url it can not be viewed. Help me pls to redirect my code igniter to that directory. I can't open in using http://www.exmple.com/mynewfolder/ thanks.... Link to comment https://forums.phpfreaks.com/topic/147898-code-igniter-redirect-problems/ Share on other sites More sharing options...
paparts Posted March 11, 2009 Author Share Posted March 11, 2009 Anyway found a solution to the problem here is the code for htaccess RewriteRule ^<foldername>/(.*)$ <foldername>/$1 [L] Link to comment https://forums.phpfreaks.com/topic/147898-code-igniter-redirect-problems/#findComment-781853 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.