Support » Fixing WordPress » WordPress sharing root namespace

  • I desire a wordpress installation to sit side-by-side a codeigniter application. I wish for them to have no interaction with each other. The problem is as follows.

    My Server


    I want wordpress to control the following

    As well as my custom post type

    I have got this working with custom post types as well as nesting wordpress within its folder and permalink delegation, all is good on wordpresses end. My problem is that I also want codeigniter to occupy the same root namespace and control some basic pages.

    What I initially set up was the index.php file to contain a series of conditionals that can delegate to load which application like this

    if (0 === strpos($cache, '/blog') ||
        0 === strpos($cache, '/portfolio') ||
        0 === strpos($cache, '/feed')
        // include wordpress
        //include codeigniter

    I originally had /blog and /portfolio and when I found out about /feed I panicked are there any other wordpress pages that can be compromised?
    Is there a better way that this could be handled?

  • The topic ‘WordPress sharing root namespace’ is closed to new replies.