Solved

re write engine

Posted on 2010-08-14
3
454 Views
Last Modified: 2013-12-13
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
Comment
Question by:nandananushil1
  • 2
3 Comments
 

Expert Comment

by:siva2k
ID: 33436832
What rule did you created in that tool?
0
 

Author Comment

by:nandananushil1
ID: 33436907
this is what i got from that website:


RewriteEngine on

RewriteRule view-products/product_id/(.*) view-products.php?product_id=$1
0
 

Accepted Solution

by:
nandananushil1 earned 0 total points
ID: 33494869
i found the answer
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
php56-php-mcrypt for rhel7 php56 1 55
Redirect 301 from one address  to another 5 26
Help with PHP 13 27
Extracting store locations from Google maps or site 2 23
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question