Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 483
  • Last Modified:

re write engine

i am working on wamp in windows7.

i have URL like this:

http://localhost/violet/view-products.php?product_id=235

which i want to convert to SEO friendly URL

kindly tell me how to do this. i used http://www.linkvendor.com/seo-tools/url-rewrite.html to generate mod rule and put it in .htaaccess file but it didn't work. i do have rewrite_module on in my apache modules. don't know what i am doing wrong here.

thanks in advance.
0
nandananushil1
Asked:
nandananushil1
  • 2
1 Solution
 
siva2kCommented:
What rule did you created in that tool?
0
 
nandananushil1Author Commented:
this is what i got from that website:


RewriteEngine on

RewriteRule view-products/product_id/(.*) view-products.php?product_id=$1
0
 
nandananushil1Author Commented:
i found the answer
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now