So I have my main site setup in laravel and everything works fine, my issue is I am trying to setup a subdomain that uses wordpress for our news. so I have mysite.com and news.mysite.com both pointing to my server and I am getting very weird, issues. Basically how I have it right now is laravel is in /var/www/html/Laravel Here, then my news section that has a wordpress install is /var/www/news. I use apache virtual host to direct incoming traffic to the correct folder. Here is what happens, go to mysite.com -> everything works great, go to news.mysite.com -> no images load, no css loads. If i try and go to /feed or /wp-admin to edit wordpress settings laravel takes over and redirects. so if I type news.mysite.com/wp-admin and press enter it takes me to mystie.com/wp-admin and throws a laravel httpd not found exception. Anyone know what could be going on here ? Basically I just want a totally separate system setup for the sub domain and have it run wordpress and my main site run on laravel, I do not want them to interact in any way.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community