PHP Classes

File: .htaccess

Recommend this page to a friend!
  Classes of Aleksey   PHP Framework Bootstrap 4 Template   .htaccess   Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Framework Bootstrap 4 Template
Show application pages using Bootstrap templates
Author: By
Last change:
Date: 2 years ago
Size: 400 bytes
 

Contents

Class file image Download
<IfModule mod_rewrite.c> RewriteEngine On # redirect /index.php to / RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php RewriteRule ^index.php/?(.*)$ $1 [R=301,L] # process all requests through index.php, except for actually existing files RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1?%{QUERY_STRING} [QSA,L] </IfModule>