nopSolutions / nopCommerce

ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.
https://www.nopcommerce.com
Other
9.14k stars 5.25k forks source link

SEO friendly URLs with multiple languages enabled => Page not found if URL contains any parameter #7110

Closed andrejfilipi closed 5 months ago

andrejfilipi commented 5 months ago

nopCommerce version: ALL

  1. Enable localizationsettings.seofriendlyurlsforlanguagesenabled => True
  2. Store by default add language SEO code. Example: http://www.yourStore.com/en/
  3. Problem is if you share primary store URL without trailing "/" for example on Meta or any other social media then these social media adds parameters to url (example of redirected URL to store => http://www.yourStore.com/en?fb_id=123456 and these URL redirects to Page not found. Same is on default NopCommerce site: https://www.nopcommerce.com/en?fb_id=12334

Please if you could check if is any option to FIX that or give us any solution how to solve that

Also see https://www.nopcommerce.com/en/boards/topic/99109/url-first-segment-issue

exileDev commented 5 months ago

Closed #7110