summaryrefslogtreecommitdiffhomepage
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess4
1 files changed, 4 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 3de1fb372..5b9647118 100644
--- a/.htaccess
+++ b/.htaccess
@@ -11,5 +11,9 @@ RewriteRule ^(faq-)?anime$ https://github.com/rg3/youtube-dl/blob/master/README.
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$ 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 ^latest/version$ latest_version [L,T=text/plain]
+RewriteRule ^latest_version$ - [T=text/plain]
+RewriteRule ^latest/(.*)$ /downloads/latest/$1 [R=302,L]