Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress Installing wordpress in a subfolder

Discussion in 'Misc WordPress Requests' started by bberkley, Feb 2, 2018.

  1. bberkley

    Guest

    Installing wordpress in a subfolder, by bberkley

    I have a website set up with CodeIgniter and I want most of the site to stay the same, but I am adding wordpress for some pages. Right now I have a script that checks if the page should use wordpress, and if so includes the index.php file for wordpress and then exits after wordpress is done. If I type in my.site/wp-admin I am redirected to my.site/wordpress/wp-admin and that works fine, but if I type in anything else like my.site/page-A I just get a wordpress page not found error. The method recommended by wordpress involves adding a .htaccess file to redirect everything to the sub directory, but that would interfere with the rest of my website. How can I get wordpress to find and display the proper page?

    Installing wordpress in a subfolder
     
    #1

Share This Page

Monarch Social Sharing Plugin