Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for htaccess-rewrite-rules #15

Open
twiro opened this issue Mar 27, 2017 · 0 comments
Open

Add support for htaccess-rewrite-rules #15

twiro opened this issue Mar 27, 2017 · 0 comments

Comments

@twiro
Copy link
Owner

twiro commented Mar 27, 2017

In order to become easier to set up and use (and also more flexible regarding URL structures and routing) version 2.0.0 of this extension will support htaccess rewrite rules "out of the box" and therefore no more rely on either manually integrating all supported languages into Symphony's page hierarchy or using a separate routing extension for building the actual multilingual URLs.

This will still be possible, but a simple "Enable htaccess rewrite rules"-checkbox will make Symphony's native pages play nicely together with the default multilingual url-structure and all supported languages. For example a simple page "Blog" will become accessible under the following URLs (given that the three languages "en", "de" and "fr" are supported by the multilingual settings) :

/en/blog/
/de/blog/
/fr/blog/

Optional two-letter regions in the URLs will also work as expected:

/de-ch/blog/
/de-at/blog/

In this context multilingual page-names/handles come to mind quickly, but that's something I'm currently not planning to address in version 2.0.0 as I don't see this as a core requirement for building multilingual websites with Symphony. This will still be possible the way it worked in version 1.X though - either by setting up native Symphony parent pages for each language or using a routing extension to tackle this task.

But I'm currently thinking about a separate extension ("Multillingual Pages") that migh solve this aspect the way "page_lhandles" does for the "classic way" of managing multilingual content in Symphony. Might be the best solution in the long run, but might also take some time...

Latest preview of the 2.0.0 configuration settings

bildschirmfoto 2017-03-27 um 11 49 41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant