Forum Moderators: phranque

Message Too Old, No Replies

Problem redirecting to new URL Parameters

Cannot forward users to URL with multiple parameters

         

gusHustler

4:25 pm on May 22, 2009 (gmt 0)

10+ Year Member



I have a Wordpress blog that has a forum plug-in installed. Due to some changes, we want users to go directly to a specific group that will contain all the threads. To save the headache of restructuring how the plug-in actually works, I figured we would just use htaccess to send the user to the correct group but this has proven difficult and now I am wondering if its even possible or if I am approaching it all wrong. Here is the scenario:

The top level of the forum is here:
/?page_id=73

But I want that to now redirect here:
/?page_id=73&forumaction=showforum&forum=21

So I guess its not so much a redirect as a refresh with additional parameters. Everything I have tried sends me into an infinite loop. Any ideas?

Thanks in advance.

jdMorgan

12:32 am on May 23, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> So I guess its not so much a redirect as a refresh with additional parameters.
If you want the new URL to show in the visitor's browser address bar, it is an external (client) redirect. If you want requests for the URL "/" with a query string of "page_id=73" to be rewritten to your script with the additional parameters "&forumaction=showforum&forum=21" without informing the browser, then it is an internal rewrite.

> Everything I have tried sends me into an infinite loop. Any ideas?

Please post your best effort as a basis for discussion... So we know where to start.

Thanks,
Jim