In a multilanguage site with language prefix, front pages with only prefix (en, sv and the like) are not expired.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | Language-prefix-front-page-URL-not-expired-1783296-1.patch | 549 bytes | auth |
In a multilanguage site with language prefix, front pages with only prefix (en, sv and the like) are not expired.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | Language-prefix-front-page-URL-not-expired-1783296-1.patch | 549 bytes | auth |
Comments
Comment #1
auth commentedAttaching patch to add language prefix to front page.
Comment #2
SqyD commentedThanks for your report. I believe we already recently put a fix in place that could have solved this issue for you. Could you please try if the current 7.x dev release fixes your issue? Would appreciate a follow up, thanks!
Comment #3
spleshkaThis problem should gone in 7.x-2.x.
Comment #5
brahimmouhamou commentedI'm having the same problem, I have global redirect enabled to always redirect to the domain WITH language prefix. But when enabling the front page to expire, only (/ and /node) get expired.
When enabling 'Include base URL in expires', the language prefix is added but this causes problems with the Varnish module because it concatenates the $base (/) to the paths so you get /http://example.com/en
I bypassed it by disabling the front page option and choosing the 'custom pages' option, here I added my language prefixes (with 'Include base URL in expires' disabled).