PHP Classes

File: .htaccess

Recommend this page to a friend!
  Classes of Jason Olson   PHP Redirect to Page Class   .htaccess   Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Redirect to Page Class
Generate URLs to redirect to destination pages
Author: By
Last change:
Date: 5 years ago
Size: 305 bytes
 

Contents

Class file image Download
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} ^/404/$ RewriteRule ^(.*)$ /index.php [L]