Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Redirection page
#5
Hi,

thanks, but the code in the index.php don't change anything at all. There's the same behavior if I comment the code or not.

If i do that (in the template.php):
Code:
// get page id (url slug) that is being passed via .htaccess mod_rewrite
        if (isset($_GET['id']))
        {
            $id = strtolower($_GET['id']);
        }
        else
        {
            $id = "index";
        }
    }
    header('location:'.$id.'.php');
,the page is redirected to /ie6.php, not to /theme/my-theme/ie6.php.

Fab
Reply


Messages In This Thread
Redirection page - by __fabrice - 2010-01-08, 00:16:25
Redirection page - by ccagle8 - 2010-01-08, 01:20:01
Redirection page - by __fabrice - 2010-01-08, 03:19:00
Redirection page - by Nijikokun - 2010-01-08, 03:51:17
Redirection page - by __fabrice - 2010-01-08, 04:55:23
Redirection page - by Nijikokun - 2010-01-08, 06:06:12
Redirection page - by __fabrice - 2010-01-09, 09:06:45



Users browsing this thread: 1 Guest(s)