You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.htaccess 238B

123456789101112
  1. RewriteEngine On
  2. # Redirect Trailing Slashes
  3. RewriteRule ^(.*)/$ /$1 [L]
  4. # Redirect Root
  5. RewriteRule ^$ api.php [L]
  6. # Handle API Requests
  7. RewriteCond %{REQUEST_FILENAME} !-d
  8. RewriteCond %{REQUEST_FILENAME} !-f
  9. RewriteRule ^ api.php [L]