Results 1 to 3 of 3
  1. #1

    Redirects on dynamic pages

    I'm trying to get a redirect forum with phpBB (which doesn't support redirect forums). So what I've done is created a redirect in cPanel that redirects the forum (viewforum.php?f=28 or whatever) to the proper page. Only problem is, it doesn't like the "f=28" part and redirects all of my forums.

    I've even tried modifying the .htaccess manually, to no avail. Any ideas on if it's possible?

  2. #2
    Join Date
    Mar 2004
    Location
    Greater Chicagoland
    Posts
    181
    It may be possible by editing viewforum.php.

    Here's a quick example:

    Code:
    <?PHP # Line 1 of viewforum.php
    if($HTTP_GET_VARS['f'] == 28) {
         header("Location: http://www.example.com/forum/view.php?forum=1&dog=2");
         exit;
    }
    ?>

  3. #3
    Thanks.

    I'll see if that will work.

    edit: it worked! Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •