@phleobon That's right. Researching on better ways to handle this. Maybe I should proxy?! Not sure, proxy may cause session/cookie related issues...
Feb 14, 2016
4
Level 5
WordPress and Laravel together
Hi,
Background
I'm working on a new project and using WordPress to publish content and would like to use a responsive theme to render the content.
I want to use Laravel to power the custom ecommerce (REST API + billing pages).
I have WordPress working and got Laravel installed inside a sub-folder called /my_api/. WordPress is accessible from http://localhost:1234/ and laravel via http://localhost:1234/my_api/public/
Questions/Things I am not sure of or stuck with
-
Is exposing laravel like below ok? http://localhost:1234/my_api/public/
-
Is there a way to load WordPress header/footer from within a Laravel view?
Please or to participate in this conversation.