Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Andre Allin Member

@andreallin · Joined 8 years ago · 11 posts · 3 topics · 0 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • Redirect route including language · 8 years ago

    oh man, this is really cool but i need actually to serve the redirect, and this just process afterwards, you know, client have some address which is exactly the same ... e.g. mysite.com/en/gdpr ... an

  • Redirect route including language · 8 years ago

    hey, this one seems really elegant, but doest it really work for you exactly like this? I get 404 as I try it this way /// my site.yaml: redirects: /en/gdpr: /GDPR_OKTOURS_EN.pdf /cs/gdpr: /GDPR_OKTO

  • Redirect route including language · 8 years ago

    no, in fact, redirecting in multilingual sites is done after the lang slash ... as written in docs

  • Redirect route including language · 8 years ago

    I mean i need to put somehow to site.yaml redirect: mysite.com/en/mylink: 'absoluteurl/myfile-EN.pdf' mysite.com/cz/mylink: 'absoluteurl/myfile-CZ.pdf' I hope I've explained it correctly.

  • Redirect route including language · 8 years ago

    the task was to create link with exact addres like mysite.com/cs/the-link which is pointing to pdf file so i've managed to create redirect using site.yaml redirect section, but then realized, that it

  • Redirect route including language · 8 years ago

    Trying to redirect same link on multilingual page to its proper languages files e.g.: /en/link: 'someaddress.com/en/file.ext' /cs/link: 'someaddress.com/cs/file.ext' Is it possible to do it some easy

  • How to redirect language based links in site.yaml using regex? · 8 years ago

    Is it possible to define in site.yaml on website using langswitcher redirects of certain links to its appropriate destinations? my site.yaml redirects: /hellolink: 'http://www.example.com/download/my

  • Routes link to external file · 8 years ago

    well, as Chemical Brothers sing... how and why, did I die? but thats not my case fortunately, I've somehow managed to redirect the link to pdf file... site.yaml: redirects: /gdpr: 'http://www.example

  • Routes link to external file · 8 years ago

    Well, it seems neither redirect approach is working i have my alias like a /cs/gdpr ... and redirect /download/file.pdf but it throws 404 again

  • Routes link to external file · 8 years ago

    yes, 404 and yes I can access the file when I put absolute uri to browser.