Forum Moderators: phranque

Message Too Old, No Replies

Trying to fix another rewrite rule for ?id=##

         

jpietrowiak

6:20 am on Mar 21, 2009 (gmt 0)

10+ Year Member



Hi all,
Trying to figure out how to make a rerwrite rule to write any urls that are like this.
site.com/?id=## or ### and make it wrote to a static page for example site.com/index.php. How in the world do I do it? Spent way to many hours on this again for something that I am sure is simple. Here is what I have below for the concept

RewriteRule ^\?id\=[^/][^/] [forums.example.com...] [R=301,L]

Thanks for all the help

[edited by: coopster at 1:12 pm (utc) on Mar. 21, 2009]
[edit reason] please use example.com, thanks! [/edit]

jdMorgan

5:22 pm on Mar 21, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Please see this current thread: [webmasterworld.com...]

Jim