geogeo Posted December 10, 2005 Posted December 10, 2005 Hi All I am having a nightmare with mod rewrite rules. I have been looking all day for help. Tried this, tried that but nothing seems to work. I am sorry if this is in the wrong forum by the way Here is what I want: I have the dynamic link, something like this: list.php?m=Nokia-3120&l=Nokia&lp=1&id=19 I would like the url to be static for indexing purposes like this: list.php/Nokia-3120/19 I hope some of you can help me as it is driving me crazy!! Thanks in advance Quote
TCH-Andy Posted December 10, 2005 Posted December 10, 2005 Hi, I'd try something like; >RewriteRule ^list.php/(.*)/(.*)$ list.php?m=$1&l=Nokia&lp=1&id=$2 which will convert list.php/Nokia-3120/19 into list.php?m=Nokia-3120&l=Nokia&lp=1&id=19 I think Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.