Suppose that I have a wordpress installation on www.wp-project.com
and I want redirect to a laravel webpage in the same domain, for example www.wp-project.com/laravel-project/login
.
Now I have a wordpress project (wp-project
) inside /var/www
and a laravel project (laravel-project
) inside /var/www/wp-project
.
When I want to access laravel webpage I need to use the following url
www.wp-project.com/laravel-project/public/index.php/login.
I would like access as
www.wp-project.com/laravel-project/login
Without /public/index.php
.
How can I achieve that? This answer doesn't work for me.
Thanks.