PHP Classes

MdRGen: Generate the definition of rules for mod_rewrite

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 3,289 All time: 1,056 This week: 200Up
Version License PHP version Categories
mdrgenv 1Freeware4.0HTTP, Configuration, SEO


This class can be used to generate the definition of configuration rules for rewriting URLs with mod_rewrite.

It takes a list of URLs of pages of sites before rewriting the URL.

The class generates a list of definition of rules to insert in .htaccess or other Apache configuration files to rewrite the URLs in a search engine friendly manner.

Innovation Award
PHP Programming Innovation award nominee
October 2007
Number 2

Prize: One book of choice by SAMS
mod_rewrite is a popular module for the Apache Web servers. It is often used to rewrite Web site page URLs to make them nicer and easier to type for the users.

Usually developers need to know how to create regular expressions to configure mod_rewrite.

This class provides an alternative solution to configure mod_rewrite that does not require knowledge of regular expressions. It simplifies the lives of those that want to benefit from mod_rewrite capabilities but do not have the skills to master the syntax of regular expressions.

Manuel Lemos
Picture of Viktor
Name: Viktor <contact>
Classes: 2 packages by
Country: Ukraine Ukraine
Age: 39
All time rank: 71414 in Ukraine Ukraine
Week rank: 578 Up11 in Ukraine Ukraine Up
Innovation award
Innovation award
Nominee: 1x

Class MdRGenv developer ivi E-mail: WWW: ------------------------------------------------ Install: Copy MRewrite.class.php and index.php into your document root or your web folder. Open index.php from your browser.
  Files folder image Files  
File Role Description
Accessible without login Plain text file index.php Example Sample
Plain text file MRewrite.class.php Class Main Class for rules generation
Accessible without login Plain text file readmy.txt Doc. ReadMe

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,056
This week:200Up
 User Ratings  
 All time