Jump to content
thirty bees forum

rafamerino

Members
  • Posts

    1
  • Joined

  • Last visited

rafamerino's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, I'm adjusting a brand new TB installation with several languages. Problem: domain is ".es" (like mydomain.es), and default language is spanish. So, when a Spanish user load the page, in the url appears something like mydomain.es/es/. I'm trying to "hide" the "/es/" alias (or virtual folder, whatever is called), so spanish users can see mydomain.es/product-name instead of mydomain.es/es/product-name, but language still appears with other languages, like mydomain.es/en/product-name So far, I've tried this: location = /es/ { rewrite ^/es/(.*)$ /index.php last; } And this: rewrite ^/es/(.*)$ $1 last; But nothing works, still appears /es/ folder. Could anyone help me? Thank you! PS: Here's my nginx vhost conf
×
×
  • Create New...