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

[TASK] Handle multilingual-singledomain websites #1

Open
dogawaf opened this issue Sep 13, 2013 · 0 comments
Open

[TASK] Handle multilingual-singledomain websites #1

dogawaf opened this issue Sep 13, 2013 · 0 comments

Comments

@dogawaf
Copy link
Member

dogawaf commented Sep 13, 2013

Actually, we handle multilingual for multidomain websites.
This is easy because with differents hostnames, we can generate respectives 404.html files, which are then fetched by a READFILE:typo3temp/tx_static404-'.t3lib_div::getIndpEnv('TYPO3_HOST_ONLY').'.html instruction.

We need to handle multilingual 404 for singledomain websites, because they deserve too a proper static 404 handling.

Proposal

  1. generate a 404.html file for each of the alternative page language. This is easy.
  2. do some rewriting in the htaccess, by extracting the language path in the referer, and injecting it in the static 404 path.
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