Hello Guys,
I have a website where the users can change the city and the currency
This will give them the price of the service in the chosen city and the price will be converted in the chosen currency
The typical URL scheme is http://localhost/language/city/currency/ for example:
http://localhost/en/Paris/USD/
http://localhost/de/Amsterdam/EUR/
http://localhost/fr/London/BGN/
The default city is set to "Paris" and the default currency is set to "EUR", which implies that loading the 3 following URLs will have exactly the same content:
http://localhost/en/
http://localhost/en/Paris/
http://localhost/en/Paris/EUR/
I guess it's not SEO optimal to have duplicate pages
It's the first time I am confronted to this situation and I have no clue how to remove those duplicates
Should I use modx->sendRedirect or sendForward?
Should I add the missing parameters to the URL directly in .htaccess?
Maybe should I just move the city and currency parameters to session variables or cookies ?
Thank you for the help
[ed. note: radoslav last edited this post 9 years, 9 months ago.]