Login   Register  
PHP Classes
elePHPant
Icontem

File: url_rewrite/.htaccess

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of adeniyi ibraheem  >  URL Rewriting in PHP  >  url_rewrite/.htaccess  >  Download  
File: url_rewrite/.htaccess
Role: Auxiliary data
Content type: text/plain
Description: htaccess file
Class: URL Rewriting in PHP
Extract request parameters from URL
Author: By
Last change:
Date: 1 year ago
Size: 251 bytes
 

Contents

Class file image Download
<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteBase /url_rewrite/
	
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteCond %{REQUEST_FILENAME} !-l
	
	RewriteRule ^(.*)$ index.php?url=$1[QSA,L]

</IfModule>