| @@ -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] | |
MrGeneration / KB Catalan redirect
Last active 3 months 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
revised this gist 5 months ago
·
02d1311
No changes
MrGeneration
revised this gist 5 months ago
·
73a592d
No changes
MrGeneration
revised this gist 6 months ago
·
c4cd103
No changes
MrGeneration
revised this gist 6 months ago
·
d14821a
No changes
MrGeneration
revised this gist 6 months ago
·
725aeb6
2 files changed, 12 insertions
| @@ -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; | |