Home > MySQL, PHP, Programming > Configure Htaccess File

Configure Htaccess File

November 17th, 2009

I have a site running with Apache, Mysql, php5.

I need the htaccess file writing to re write static url’s back the their orignal dynamic url.

e.g mypage1.php?cat=something
e.g. mypage2.php?product=something

The problem is I have two pages using one variable each but the htaccess file is only processing one rule because it matches both pages.

I’m new to this and don’t know how to work round this issue without having to rewrite my php code, which I don’t want to do.

Joey


Configure Htaccess File