Forum Moderators: phranque

Message Too Old, No Replies

[htaccess] Dynamic url redirect Question

         

kloo

5:15 pm on Mar 16, 2008 (gmt 0)

10+ Year Member



how to redirtect :

[forum.example.com...]
to
[forum.example.com...]

I've read and search some article but failed.
Can anyone help me ?

thanks.

jdMorgan

6:18 pm on Mar 16, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try this search [google.com] to get started.

Jim

g1smd

6:34 pm on Mar 16, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Do you need a redirect or a rewrite for that?

Which URL appears in links on the page?

Which URL should users actually see?

What is the file called on the server itself?

kloo

2:07 am on Mar 17, 2008 (gmt 0)

10+ Year Member



I try %{query_string} but it will redirect to

[forum.example.com...] (something like that)

actually, I want:

People suff [forum.example.com...]
then 301 redirect to [forum.example.com...]

and
tid=3--> 3
page=2 --> 2
ex=1 --> 1

g1smd

7:47 pm on Mar 17, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



What code have you tried?

Adding a question mark to the end of the target URL will strip the parameter string from the end of the new URL.