In my document root, I have deployed two Laravel applications to two different subfolders. (i.e. http://example.com/dev and http://example.com/test). Here dev and test are the subfolders.
I want http://example.com/demo/task/132 to be directed to http://example.com/demo/public/task/132.
\[document root]
-- \dev
-- [laravel home]
-- \test
-- [laravel home]
Is there a way to handle public folder in the paths using .htaccess? Basically I want to get rid of public from the URL.