php - Symfony and Wordpress sitting alongside each other in webroot -


i looking way have wordpress 4.8.1 site sitting alongside symfony 2.8 application.

my aim have wp handle doesn't fall under /app directory wish symfony handle that.

can achieved directory structure?

project |-- /wordpress    |-- /wp-admin    |-- /wp-content    |-- /wp-includes    |-- wp-config.php |-- /app (symfony)    |-- /app    |-- /bin    |-- /src    |-- /vendor    |-- /web 

i have looked @ following plugin (https://github.com/ekino/ekinowordpressbundle), i'm not convinced if need don't need wp , sf talk each other. need separated @ route-level.

expected behaviour:

www.crmpicco.co.uk => wordpress

www.crmpicco.co.uk/about => wordpress

www.crmpicco.co.uk/something-else => wordpress

www.crmpicco.co.uk/app => always symfony

i have installed ekinowordpressbundle , have symfony , wordpress directory structure in project. when go hostname default http directory structure listing see both directories. have configured .htaccess file advised here - https://github.com/ekino/ekinowordpressbundle#5-edit-htaccess-file-on-your-wordpress-root-project-directory, not appear cater directing requests appropriate place.


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -