rocknbil

msg:4093002 | 7:40 pm on Mar 7, 2010 (gmt 0) |
Welcome aboard ginx, If you click at acne link curently the link shows as http://www.example.com/showarticles.php?cat=100 i want it to show as http://www.example.com/acne/ |
| Mod_rewrite Primer [webmasterworld.com] Keep in mind many starting new with mod_rewrite get it backwards; you want to link to the SEO friendly link from your site, http://www.example.com/acne/ The rewrite it to your PHP script.
|
ginx

msg:4093008 | 7:49 pm on Mar 7, 2010 (gmt 0) |
can u please elaborate further ? what and where to edit ?
|
rocknbil

msg:4093027 | 8:45 pm on Mar 7, 2010 (gmt 0) |
Follow the link in the previous post. You would do this in the root level .htaccess file on most Linux servers. mod_rewrite documentation [httpd.apache.org] Hmm, seems like the Apache site is down today!
|
g1smd

msg:4093037 | 9:05 pm on Mar 7, 2010 (gmt 0) |
Be sure to look at the right documents for Apache version 1.x or 2.x as appropriate.
|
|