Sunday, March 19, 2017

Install wordpress alongside in laravel in apache server

I have put my wordpress in public/blog folder in laravel. In my case after putting this RewriteCond $1 !^(blog) into .htaccess file I can install and access wordpress through www.mysite.com/blog. The only problem is when I change permalinks from this /blog/?p=123 to this /blog/%postname%/. It gives me error in laravel

NotFoundHttpException in RouteCollection.php line 161

so how can I have post with nice path like www.mysite.com/blog/my-post?



via Townim Faisal

Advertisement