Forum Moderators: phranque

Message Too Old, No Replies

redirect problem

index.php?forum=1

         

newbies

7:23 pm on Apr 5, 2005 (gmt 0)

10+ Year Member



Hello,

I tried to set up a redirect and have put this in .htaccess file

Redirect 301 /forums/index.php?forum=1 [example.com...]

It didn't work,and when I typed the URL /forums/index.php?forum=1, it does go to the other domain. I think the problem lies in the part "index.php?forum=1".

Any clues? Thank you.

[edited by: txbakers at 8:16 pm (utc) on April 5, 2005]
[edit reason] examplified [/edit]

cmatcme

6:59 pm on Apr 6, 2005 (gmt 0)

10+ Year Member



Not really a .htaccess wizard but you could try:

 Redirect 301 http://yourexamplesite.com/forums/index.php?forum=1 http://www.yourexamplesite.com/forums 

yourexamplesite.com represents your website. I read somewhere that it's better to use full urls in .htaccess.

Try posting it in the apache forum or someone else maybe better to help.

cmatcme

newbies

2:47 am on Apr 7, 2005 (gmt 0)

10+ Year Member



Thank you.

hmm..., still not work.