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

peffraimidis's avatar

Add a separate project inside another project

Hello I have a simple html project that I have uploaded with forge.

mydomain.com

Now I need to have a route

mydomain.com/order-online

and when a user visits this endpoint a new project is loaded

Any help?

0 likes
6 replies
peffraimidis's avatar

I need the second project to live inside the same project in another directory

sr57's avatar

Same answer for the route.

For your projects what pb did you encounter? (git exclusion, ...)

peffraimidis's avatar

I get a 403 Forbidden error also I don't use Laravel for the specific case sο the redirects are not an option

sr57's avatar

get a 403 Forbidden error

When ?

I don't use Laravel for the specific case sο the redirects are not an option

?

You redirect where you want like in me example.

martinbean's avatar

@pefremidis What’s a “separate project”? If you define a route in one application, then you have to tell Laravel what controller you want invoked when that route is requested.

Please or to participate in this conversation.