• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 488
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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