0

I have a Wordpress site. So all i wish is to fetch the information from those database tables and create my own custom API's. For that i opted CodeIgniter Framework.

The file directory system looks like this in my FTP enter image description here

My codeigniter files are placed in apps folder

enter image description here

The problem is the pages are not loading, It always returns 404 Error or No Input file specified/found etc.

I tried changing .htaccess file but no luck.

But if i specify

applications/apps

i.e controller/method in default_url in routes.php it works fine.

and if i click on the Hyperlink, i am trying to load another view or call another View(a web page) but this returns 404 error page not found.

What might be the reason behind this.

Ramaraju.d
  • 1,301
  • 6
  • 26
  • 46
  • did you edit the wordpress .htaccess as well? Both apps use `mod_rewrite` which would block you from using CI in a subfolder – Jakub Jan 08 '14 at 16:49
  • NO, actually i was bit scared that if i change .htaccess of wordpress something might go wrong. – Ramaraju.d Jan 08 '14 at 16:51
  • umm ok... well being scared is no way to program then... – Jakub Jan 08 '14 at 16:51
  • :-) Nice. I will take backup and try. On what basis .htaccess file to be edited? Can you please suggest! – Ramaraju.d Jan 08 '14 at 16:55
  • searching helps => http://stackoverflow.com/questions/2322559/htaccess-wordpress-exclude-folder-from-rewriterule – Jakub Jan 08 '14 at 16:56

0 Answers0