laravel - L4 and Wordpress - How to install L4 on subdomain shared with Wordpress -
here structure aiming for:
project1.site.com -> laravel projects project2.site.com -> laravel projects project3.site.com -> laravel projects www.site.com -> wordpress install
how can accomplish this? tried following web host structure
/home/user/www/wp -> wordpress install /home/user/l4/project1 -> laravel app folders /home/user/www/project1 -> laravel public folder
however l4 not loading - cannot access app folder ("no such file or directory" when trying access l4 bootstrap folder located outside webroot). checked folder permissions , looks fine, guess wordpress not playing laravel.
anyone know how fix this? or provide setup allow wordpress site separate subdomains each laravel project?
try structure this:
/home/user/www/wp -> wordpress install /home/user/www -> laravel install
make sure home page goes /home/user/www/public
.
also, readability, recommend calling wordpress install folder blog
.
Comments
Post a Comment