Install WordPress as a subfolder inside Laravel

I run a Laravel based website and need to host a WordPress blog on the same domain as http://example.com/blog

By placing the “blog” directory inside the public directory of the Laravel project, I get into an infinite redirect loop error.

Read More

How do I fix this?

Related posts

1 comment

  1. Add this line into the .htaccess file inside your Laravel “public” folder and it should then exclude the /blog/ so you can have your own settings for it inside the blog folder.

    RewriteCond $1 !^(blog)
    

Comments are closed.