Can someone someone help me with index.php for the main page like things that should go into it like is this good? Index.php <html> <head> <title>| Unknown Treasure | Tutorials, Downloads and more!</title> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="pragma" content="no-cache"> <meta name="description" content="A great site for all your needs!"> <meta name="keywords" content="tutorials, community, chat, downloads, applications, coding, games, music"> </head> <body> //////////// This make it redirect to www.website.com/forums/ <?php header('Location: /forums/'); ?> </body> </html> Code (markup):
My php is rusty, but I remember something about php redirects needing to come before anything else is output to the browser (unless you use output buffering, or something like that). Basically, it looks like your page will not work, and if it does, it will jump directly to the forums via the redirect, so why include a <head> section?