My .htaccess redirecter

Redirect permanent /4 https://en.wikipedia.org/wiki/Freespire
Redirect permanent /7 https://www.rfyoz.uk/downloads/rfyoz.gpg.asc
Redirect permanent /8 https://play.google.com/store/apps/details?id=uk.rfyoz.passwordgenerator
Redirect permanent /10 https://d.qp3.uk/people/ac922630caa10138a2e67a163ed026f5
Redirect permanent /11 https://d.qp3.uk/ds
Redirect permanent /14 https://d.qp3.uk/main/public
Redirect permanent /17 https://ipfs.ab3.uk/online_tools/amazon_smile.html
Redirect permanent /18 https://ipfs.ab3.uk/online_tools/amazon_smile.html?charity_number=219830
Redirect permanent /19 https://www.qwant.com/
Redirect permanent /20 https://server.ab3.uk/charity/random.php
Redirect permanent /21 https://en.wikipedia.org/wiki/Mind_(charity)
Redirect permanent /aspergers https://server.ab3.uk/charity/search/?search=aspergers


RewriteEngine on
RewriteCond %{REQUEST_URI} "^/q/(.+)"
RewriteCond %{REQUEST_URI} "^/q/qp3.uk/"
RewriteCond %{REQUEST_URI} "(qp3\.uk\/q\/)(?!(qp3\.uk\/q\/))(.*)"
RewriteRule  (.*) "/q/%3"

RewriteEngine on
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTPS}:s on:(s)
RewriteRule "^q/(.+)"  "http%1://$1"  [R,L]