Forum Moderators: phranque

Message Too Old, No Replies

Simple Rewrite Condition - help!

         

stormshield

12:18 pm on Aug 11, 2006 (gmt 0)

10+ Year Member



Hi all,

Could somebody write me this simple rewrite condition?
[webiste.com...] to [webiste.com...]

stormshield

1:17 pm on Aug 11, 2006 (gmt 0)

10+ Year Member




I tried this : RewriteRule ^(.*)_(.*)/$ /display2.php?id=$2 [L]

But it's doesn't work... Anyone has a clue how to write this rule correctly?

jdMorgan

6:17 pm on Aug 11, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You may have the 'direction' of the rewrite backwards. If you are trying to make a dynamic site look static, see this thread in our forum library: Changing Dynamic URLs to Static URLs [webmasterworld.com]

Jim

[edited by: jdMorgan at 6:18 pm (utc) on Aug. 11, 2006]