• It seems that when permalinks are turned on, /%postname&/, that links to pages that CodeIgniter can’t resolve (because they are WP pages) get caught by CI and it throws a 404 error – stopping WP from processing the URI.
    I’d like CI controllers to handle form POSTs, but WP to handle normal ‘static’ pages and posts.

    http://ww.wp.xz.cn/extend/plugins/wp-code-igniter/

Viewing 1 replies (of 1 total)
  • In this file:

    wp-content/plugins/wp-code-igniter/wp-code-igniter.php

    line 39 is this:

    $_SERVER[‘PATH_INFO’] = ‘/ci_mods/recover_get_array/’.$query_string;

    comment that out. If you need Codeigniter to use $_GET try this in some Codeigniter controller (I haven’t tried this alongside WordPress):

    parse_str($_SERVER[‘QUERY_STRING’],$_GET);

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WP Code Igniter] Allowing WP to handle URIs’ is closed to new replies.