summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2019-04-27 02:54:12 +0700
committerSergey M․ <dstftw@gmail.com>2019-04-27 02:54:12 +0700
commitf0242b98a864b4a41f8c1fe8580118598e42b752 (patch)
tree9c0d53f4f70659e34354ad72682fe837ee01b80c
parent782d021327418a88a46bafdb96722382e6e1885c (diff)
downloadyoutube-dl-f0242b98a864b4a41f8c1fe8580118598e42b752.tar.gz
youtube-dl-f0242b98a864b4a41f8c1fe8580118598e42b752.tar.xz
youtube-dl-f0242b98a864b4a41f8c1fe8580118598e42b752.zip
Add rewrite rules for README and FAQ URLs
-rw-r--r--.htaccess2
1 files changed, 2 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 91fd4b651..b21a7ef1a 100644
--- a/.htaccess
+++ b/.htaccess
@@ -4,9 +4,11 @@ RewriteEngine On
 RewriteRule ^ip/?$ ip.php
 
 RewriteRule ^bugs?/? https://github.com/ytdl-org/youtube-dl/issues [R=302,L]
+RewriteRule ^readme/?$ https://github.com/ytdl-org/youtube-dl/blob/master/README.md [R=302,L,NE]
 RewriteRule ^reporting/? https://github.com/ytdl-org/youtube-dl/blob/master/README.md#bugs [R=302,L,NE]
 RewriteRule ^update/?$ https://github.com/ytdl-org/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl [R=302,L,NE]
 RewriteRule ^donat(e|ions)/?$ https://ytdl-org.github.io/youtube-dl/donations.html [R=302,L]
+RewriteRule ^faq/?$ https://github.com/ytdl-org/youtube-dl/blob/master/README.md#faq [R=302,L,NE]
 RewriteRule ^(faq-)?anime/?$ https://github.com/ytdl-org/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/ytdl-org/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/ytdl-org/youtube-dl/blob/master/CONTRIBUTING.md#is-the-description-of-the-issue-itself-sufficient [R=302,L,NE]