I have a YOURLS installation that redirects the generated addresses to another domain, however the root is not redirected. How can I establish a rule that will work with existing rules to achieve this? Here is the .htaccess file:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([0-9A-Za-z]+)/?$ yourls-go.php?id=$1 [L]
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
</IfModule>
I have a basic understanding of these methods, but I donβt know how individual rules affect each other. Thanks in advance for your help.
Adam
source
share