Forum Moderators: phranque

Message Too Old, No Replies

Redirect Dynamic URL (With Variables) Using .htaccess

         

ateman

4:19 pm on Aug 9, 2004 (gmt 0)

10+ Year Member



I did a search and found *some* of what I was looking for, but I am not good on this side of the web, so I need the EXACT syntax or I am useless :)

I need to redirect a dynamic url with the variable(s) intact to a static html page. I tried setting up a very basic re-direct in .htaccess but found that it would strip the variables off and be way too aggressive about redirecting the url no matter what the variables were.

I want to send this URL:
http://example.com/exlforum/index.php?board=1

To This URL:
http://example.com/events_exl.html

I DONT want it to also redirect index.php?board=2 index.php?board=3 and so on...JUST http://example.com/wexforum/index.php?board=1

please help! much thanks in advance....

[edited by: jdMorgan at 2:27 am (utc) on Aug. 10, 2004]
[edit reason] Removed specifics per WebmasterWorld TOS [/edit]

jdMorgan

4:17 pm on Aug 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



ateman,

Welcome to WebmasterWorld [webmasterworld.com]!

> I tried setting up a very basic re-direct in .htaccess but found that it would strip the variables off and be way too aggressive about redirecting the url no matter what the variables were.

Post your code, and we'll help you figure out how to make it work. But we can't write it for you.

Jim