Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Omarel's avatar

how to install Wordpress blog into laravel

I've installed Wordpress blog in a site using laravel but I'm having some trouble

So the site is already live and it isn't a site Wordpress. I'm just installing a blog section.

I installed the Wordpress directory into the /Public directory

When I go to site.com/blog sometimes it loads fine

But most of the time it just redirects itself out to this link and throws an error: Site.com/public/blog

I can't figure out how to stop that from happening

0 likes
2 replies
martinbean's avatar

@Omarel Install WordPress in its own directory and not in Laravel’s public/ directory, otherwise you’re going to have conflicts with the URL rewriting of both.

Omarel's avatar

I tried moving the wordpress blog directory above the /Public folder but then it doesn't load

Please or to participate in this conversation.