forked from perma-id/w3id.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e0eb31b
commit 93cd6a3
Showing
2 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# Example | ||
# | ||
# https://w3id.org/GayLesbianBisexualTVCharacters/1980s/insi redirects to https://home.cc.umanitoba.ca/~wyatt/tv-char1980s.html#insi | ||
# https://w3id.org/GayLesbianBisexualTVCharacters/road redirects to https://home.cc.umanitoba.ca/~wyatt/tv-characters.html#road | ||
# https://w3id.org/GayLesbianBisexualTVCharacters/days redirects to https://home.cc.umanitoba.ca/~wyatt/tv-characters.html#days | ||
# | ||
# ## Contact | ||
# This space is administered by: | ||
|
@@ -9,8 +11,15 @@ | |
# [email protected] | ||
# GitHub username: Superraptor | ||
|
||
# Examples tested using: | ||
# https://htaccess.madewithlove.com/ | ||
# (22 September 2024) | ||
|
||
RewriteEngine On | ||
RewriteBase / | ||
|
||
# Redirect URLs of the form /GayLesbianBisexualTVCharacters/$1 | ||
RewriteRule ^GayLesbianBisexualTVCharacters/([a-z]{1,10})$ https://home.cc.umanitoba.ca/~wyatt/tv-characters.html#$1 [R=301,NE,L] | ||
|
||
# Redirect URLs of the form /GayLesbianBisexualTVCharacters/$1/$2 | ||
RewriteRule ^GayLesbianBisexualTVCharacters/([1-2][9,0][6,7,8,9,0]0s)/([a-z]{1,10}[0-9]{0,4})$ https://home.cc.umanitoba.ca/~wyatt/tv-char$1.html#$2 [R=301,L] | ||
RewriteRule ^GayLesbianBisexualTVCharacters/([1-2][9,0][6,7,8,9,0]0s)/([a-z]{1,10}[0-9]{0,4})$ https://home.cc.umanitoba.ca/~wyatt/tv-char$1.html#$2 [R=301,NE,L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,17 +12,21 @@ | |
# [email protected] | ||
# GitHub username: Superraptor | ||
|
||
# Examples tested using: | ||
# https://htaccess.madewithlove.com/ | ||
# (22 September 2024) | ||
|
||
RewriteEngine On | ||
RewriteBase / | ||
|
||
# Redirect /Greens/$1 to https://greensdictofslang.com/entry/$1 | ||
RewriteRule ^Greens/([0-9a-zA-Z]{7})$ https://greensdictofslang.com/entry/$1 [R=301,L] | ||
RewriteRule ^Greens/([0-9a-z]{7})$ https://greensdictofslang.com/entry/$1 [R=301,L] | ||
|
||
# Redirect /Greens/$1/$2 to https://greensdictofslang.com/entry/$1#$2 | ||
RewriteRule ^Greens/([0-9a-zA-Z]{7})/([0-9a-zA-Z]{7})$ https://greensdictofslang.com/entry/$1#$2 [R=301,L] | ||
RewriteRule ^Greens/([0-9a-z]{7})/([0-9a-z]{7})$ https://greensdictofslang.com/entry/$1#$2 [R=301,NE,L] | ||
|
||
# Redirect /Greens/$1/$2 to https://greensdictofslang.com/entry/$1#$2 | ||
RewriteRule ^Greens/([0-9a-zA-Z]{7})/(sn[0,9]{1,3})$ https://greensdictofslang.com/entry/$1#$2 [R=301,L] | ||
RewriteRule ^Greens/([0-9a-z]{7})/(sn[0-9]{1,3})$ https://greensdictofslang.com/entry/$1#$2 [R=301,NE,L] | ||
|
||
# Redirect /Greens/sources/$1 to https://greensdictofslang.com/sources/$1 | ||
RewriteRule ^Greens/sources/([0-9]{1,5})$ https://greensdictofslang.com/sources/$1 [R=301,L] |