Solved

re write engine

Posted on 2010-08-14
3
447 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

810 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