Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Laravel URLs not working in subfolder

$
0
0

I've finished my laravel project and played it in a subfolder on my domain.https://example.com/swap

So the above is the root of my directory and when I go there, I do get the index. But now every link I press, I'm redirected to the root of my domain. So I'm getting:https://example.com/events/1Instead of https://example.com/swap/events/1

Am I forced to change all URLs by hand in my files are is there a way my htaccess can always redirect to this 'swap' folder and place everything behind that?

I've tried using groups in my routes, without success.


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>