add redirection for publiccode.eu/sharepic to sharepic.fsfe.org/pmpc

lektura
max.mehl 2022-08-15 13:19:11 +02:00
parent a651577d14
commit a5b4aa42d4
No known key found for this signature in database
GPG Key ID: 2704E4AB371E2E92
1 changed files with 4 additions and 0 deletions

View File

@ -9,5 +9,9 @@ RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^[a-z-]*/(.+) $1 [L,R=301]
# Redirect /sharepic to sharepic generator
#RewriteRule ^sharepic$ https://sharepic.fsfe.org/pmpc [R=301,L]
RewriteRule ^([a-z-]*/)?sharepics?/? https://sharepic.fsfe.org/pmpc [R=301,L]
# Redirect 404 errors to nice page
ErrorDocument 404 /404.html