Last active 9 hours ago

Redirects outdated locale slug for knowledge bases from 'es-ca' to 'ca' for improved usability and very easy switching. As shown in the Zammad 7.0 Release video: https://www.youtube.com/watch?v=unwYUx5--7M

MrGeneration's Avatar MrGeneration revised this gist 9 hours ago. Go to revision

No changes

MrGeneration's Avatar MrGeneration revised this gist 9 hours ago. Go to revision

No changes

MrGeneration's Avatar MrGeneration revised this gist 3 weeks ago. Go to revision

No changes

MrGeneration's Avatar MrGeneration revised this gist 3 weeks ago. Go to revision

No changes

MrGeneration's Avatar MrGeneration revised this gist 3 weeks ago. Go to revision

2 files changed, 12 insertions

apache2-catalan-redirect.conf(file created)

@@ -0,0 +1,7 @@
1 + # Default /help URL (replace help with your custom alias if needed; NOT for custom domains)
2 + RewriteEngine On
3 + RewriteRule ^help/es-ca(/.*)?$ /help/ca$1 [R=301]
4 +
5 + # for custom URLs
6 + RewriteEngine On
7 + RewriteRule ^es-ca(/.*)?$ /ca$1 [R=301]

nginx-catalan-redirect.conf(file created)

@@ -0,0 +1,5 @@
1 + # Default /help URL (replace help with your custom alias if needed; NOT for custom domains)
2 + rewrite ^/help/es-ca/(.*)$ /help/ca/$1 permanent;
3 +
4 + # for custom URLs
5 + rewrite ^/es-ca/(.*)$ /ca/$1 permanent;
Newer Older