Using the Wpbridge library I’m able to login from the WordPress interface into the initial page of a previously created CI site, with all the same functionality and css, but it only allows me to access the landing page with the root of the site:
localhost/bizdoc_online/corporationdocs/
If I try to access the landing page with the full path to the controller:
localhost/bizdoc_online/corporationdocs/user/login
it gets the standard CI 404 error page. I’ve created a practice CI site from scratch to see what happens and it logged into the landing page with the controller in the url and allowed me to go from page to page and logout without any errors.
This means that it would have to be something in the previously existent CI site that is preventing the controllers from being found. Can anyone explain why it would only allow me into the landing page with the root url for the CI site and not recognize any of the controllers or methods within the controllers? Is there a way to make CI find the controllers and methods after using Wpbridge to login from WordPress?