Here is a sample page I would like rewritten:
http://www.movie-critique.com/review/review-item/2.php
I'd like the review-item to be replaced with the actual category name which is Action & Adventure. I would like the 2 to be replaced with the item name which is National Treasure. What changes need to be made to my current .htaccess file?
Here is the contents of my .htaccess file:
- Code: Select all
IndexIgnore */*
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [S=4]
RewriteRule ^review-item/([^.]+)\.php$ index2.php?item_id=$1 [QSA,L]
RewriteRule ^review-category/([^.]+)\.php$ review_categories_yahoo_cats2.php?category=$1 [QSA,L]
RewriteRule ^reviewer/([^.]+)\.php$ reviewer_about.php?username=$1 [QSA,L]
RewriteRule ^comments/review_comments/([^/]+)/([^.]+)\.php$ comments/review_comments.php?item_id=$1&review_id=$2 [QSA,L]
RewriteRule ^([^.]+)\.html$ $1.php [QSA,L]
Thanks in advance and if required, I'm happy to pay for the help.
Tim