remove language prefix on default language

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
margeslt
Posts: 6
Joined: 18 Aug 2018, 17:18

remove language prefix on default language

Post by margeslt » 23 Aug 2018, 18:35

site have 4 language, for default language must be url
http://site.com
other language
http://site.com/en
http://site.com/et
http://site.com/fi
This is a base ruly for seo frendly url .



I got rid of "list" and currency in url.
But with the removal of the prefix in the default language, I have problems please help.

But with the removal of the prefix in the default language, I have problems please help.

User avatar
aimeos
Administrator
Posts: 7894
Joined: 01 Jan 1970, 00:00

Re: remove language prefix on default language

Post by aimeos » 23 Aug 2018, 19:30

Which host framework or application are you using? Laravel, Symfony, TYPO3?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

margeslt
Posts: 6
Joined: 18 Aug 2018, 17:18

Re: remove language prefix on default language

Post by margeslt » 23 Aug 2018, 21:49

I use Laravel 5.5 and Aimeos version 2018.07

User avatar
aimeos
Administrator
Posts: 7894
Joined: 01 Jan 1970, 00:00

Re: remove language prefix on default language

Post by aimeos » 24 Aug 2018, 14:09

Don't know if that is possible in Laravel to make a route prefix parameter optional. Please ask in the Laravel forums if there's a way to achive this.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply