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

sohel_iit's avatar

laravel 4 setting base url to /subfolder

I have deploy my laravel project in a subfolder following this link http://stackoverflow.com/questions/16683046/how-to-install-laravel-4-to-a-web-host-subfolder-without-publicly-exposing-app

I have done fine. It works fine when I write url in browser like www.myproject.com/myurl Problem is when i click any link from my project it makes request to www.myproject.com and get error.

What can I do now to make www.myproject.com/myurl my base url that whenever any request made, it goes through it?

0 likes
2 replies
webdani7's avatar

Hello, it was solved? My problem is the same!

Please or to participate in this conversation.