We have a classifieds script in php that shows us the category pages as view.php?category=1 For Home Business view.php?category=2 For Business view.php?category=3 For Cars etc.. In database we have a table with name "cats" which contains 2 fields one is ID and another is name [for category name]. Now we want a .htaccess file that can be use to create virtual urls like Home_Business.html instead of view.php?category=1 Business.html instead of view.php?category=2 Cars.html instead of view.php?category=3 to make it search engine friendly. We can update our php script to show the page links as Home_Business.html, Business.html etc.. but we wants a .htaccess to check if any such html page is clicked, it shall check the contents from its correct php file url like view.php?category=1 Secondly, we want a similar thing for the classifieds post listening at these category pages like view.php?category=1 we are using pagewise seperation when we have more than xx classifieds post on that page like view.php?category=1&p=1 For Page 1 of Home Business view.php?category=1&p=2 For Page 2 of Home Business view.php?category=1&p=3 For Page 3 of Home Business and we want to show the following pages as Home_Business-1.html for view.php?category=1&p=1 Home_Business-2.html for view.php?category=1&p=2 Home_Business-3.html for view.php?category=1&p=3 We want to use a single .htaccess file to do both of these things. If you are clear about requirements then only bid on this project otherwise please contact us through PMB first before placing your bid.