![]() |
any rewrite pros?
I asked this question about 10 different times at various sites, no one knows how, or haven't offered any help :(
anyhow: I'd like to make my URL's seach engine friendly. I would like to make /articles/comments.php?id=120 act as /articles/120 and then say i have: /articles/comments.php?id=120&page=3 act as /articles/120/3 I know some of you people have done this, any help for me? I posted this here because we have no apache forum, and well, i thought i'd get better help here, just becasue i know some of you ppl are smart ;) |
I have viewed myself as a regexp god recently so try this:
Code:
/\/articles\/comments.php\?id=[0-9]*/ /articles/$1 |
sorry fil i have no experience with regexp / rewrite, what do i do with that code? :p
can it be done via .htaccess instead? thanks. |
Code:
RewriteEngine on |
Thanks, It doesn't work though. I get 404 not found.
i tested mod_rewrite so i know its working.. hmm. |
All times are GMT. The time now is 02:58 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|