View Single Post
  #2 (permalink)  
Old 07-19-2006, 06:45 PM
wige's Avatar
wige wige is offline
Moderator
WebProWorld Moderator
 

Join Date: Jun 2006
Location: United States
Posts: 1,825
wige RepRank 4wige RepRank 4wige RepRank 4wige RepRank 4
Default

Iframes can be problematic, as search engines don't often index framed content correctly, and most likely a user following a SERP link to the forum would be taken to the iframe content page. In addition, there are browser differences that could make that approach problematic.

My suggestion would be to use a php command to import a header and footer based on some get variable. Something along the lines of:
if ($_GET['site'] == 'site1') {
require("site1header.php");
}


That way, if your forum is at www.myforum.com/page.php, if the visitor comes to www.myforum.com/page.php?site=site1 they would see the header. Otherwise, no header would display.
Reply With Quote