I have a website in Laravel. It supports two languages arabic and english. The home page of the website redirects to "example.com/ar" but I want it to be "example.com" for arabic only. For english it can remain like example.com/en.
Can someone please tell me how can I do this?
I need this on an urgent basis.