- Code: Select all
RewriteEngine On
RewriteBase /product/
1. Files : index.php contact.php
- Code: Select all
- Want change it to be domain.com/product/
- Want change it to be domain.com/product/contact/
2. Files : forgot.php?todo=success forgot.php?todo=invalid
- Code: Select all
- Want change to be domain.com/product/forgot/success/
- Want change to be domain.com/product/forgot/invalid/
3. File : details.php?pid=38
- Code: Select all
- Want change to be domain.com/product/details/38/
4. File : category.php?pid=80&cname=product20%name
- Code: Select all
- Want change to be domain.com/product/category/product-name/
5. File :category.php?pid=84&cname=product%20name&scatname=product%20name
- Code: Select all
- Want change to be domain.com/product/category/product-name/product-name/
- Code: Select all
- Want remove php extension without a write domain name to .htaccess
- Want redirect URL without slash to /
- Example domain.com/product/contact to domain.com/product/contact/
Let me know how to do this.. any inputs I really appreciate