summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-06-26 02:20:59 +0700
committerSergey M․ <dstftw@gmail.com>2016-06-26 02:20:59 +0700
commit40f283d1590e41c179437e13ec5aeb2256994598 (patch)
tree5e77c5c4b37e4d841868f957d1b108bbcbf0655e
parent6a020a3218f231c708c07ae9e2e3b17b7e2c5b4b (diff)
downloadyoutube-dl-40f283d1590e41c179437e13ec5aeb2256994598.tar.gz
youtube-dl-40f283d1590e41c179437e13ec5aeb2256994598.tar.xz
youtube-dl-40f283d1590e41c179437e13ec5aeb2256994598.zip
Add some more shortcuts
-rw-r--r--.htaccess18
1 files changed, 10 insertions, 8 deletions
diff --git a/.htaccess b/.htaccess
index 32706a2f6..65b314e7e 100644
--- a/.htaccess
+++ b/.htaccess
@@ -5,15 +5,17 @@ RewriteRule ^ip/?$ ip.php
 
 RewriteRule ^bugs?/? https://github.com/rg3/youtube-dl/issues [R=302,L]
 RewriteRule ^reporting/? https://github.com/rg3/youtube-dl/blob/master/README.md#bugs [R=302,L,NE]
-RewriteRule ^update$ https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl [R=302,L,NE]
-RewriteRule ^donat(e|ions)$ https://rg3.github.io/youtube-dl/donations.html [R=302,L]
-RewriteRule ^(faq-)?anime$ https://github.com/rg3/youtube-dl/blob/master/README.md#can-you-add-support-for-this-anime-video-site-or-site-which-shows-current-movies-for-free [R=302,L,NE]
-RewriteRule ^(faq-)?citw$ https://github.com/rg3/youtube-dl/blob/master/README.md#do-i-always-have-to-pass-in---max-quality-format-or--citw [R=302,L,NE]
-RewriteRule ^(?:example-url|questions)$ https://github.com/rg3/youtube-dl/blob/master/CONTRIBUTING.md#is-the-description-of-the-issue-itself-sufficient [R=302,L,NE]
-RewriteRule ^g403$ https://github.com/rg3/youtube-dl/blob/master/README.md#i-extracted-a-video-url-with--g-but-it-does-not-play-on-another-machine--in-my-webbrowser [R=302,L,NE]
+RewriteRule ^update/?$ https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl [R=302,L,NE]
+RewriteRule ^donat(e|ions)/?$ https://rg3.github.io/youtube-dl/donations.html [R=302,L]
+RewriteRule ^(faq-)?anime/?$ https://github.com/rg3/youtube-dl/blob/master/README.md#can-you-add-support-for-this-anime-video-site-or-site-which-shows-current-movies-for-free [R=302,L,NE]
+RewriteRule ^(faq-)?citw/?$ https://github.com/rg3/youtube-dl/blob/master/README.md#do-i-always-have-to-pass-in---max-quality-format-or--citw [R=302,L,NE]
+RewriteRule ^(?:example-url|questions)/?$ https://github.com/rg3/youtube-dl/blob/master/CONTRIBUTING.md#is-the-description-of-the-issue-itself-sufficient [R=302,L,NE]
+RewriteRule ^g403/?$ https://github.com/rg3/youtube-dl/blob/master/README.md#i-extracted-a-video-url-with--g-but-it-does-not-play-on-another-machine--in-my-webbrowser [R=302,L,NE]
+RewriteRule ^format-selection/?$ https://github.com/rg3/youtube-dl#format-selection [R=302,L,NE]
+RewriteRule ^output-template/?$ https://github.com/rg3/youtube-dl#output-template [R=302,L,NE]
  
-RewriteRule ^latest/version$ latest_version [L,T=text/plain]
-RewriteRule ^latest_version$ - [T=text/plain]
+RewriteRule ^latest/version/?$ latest_version [L,T=text/plain]
+RewriteRule ^latest_version/?$ - [T=text/plain]
 RewriteRule ^latest(?:/(.*))?$ /downloads/latest/$1 [R=302,L]
 
 ErrorDocument 302 "302"