I came up with a workable solution without I-frames or mod rewritting. Not much code needed. Here it is for profile pages:
The first three lines are just incase a user has a name with "page-" in it. It would totally screw up the script.
Code:
$strz = $mysidia->path->getTempRoot() . "profile/view/{$mysidia->input->get("user")}/";
$lenn = strlen($strz);
if(strpos($_SERVER['REQUEST_URI'] ,"page-") == $lenn)
{
$newStr = str_replace($strz . "page-", "", $_SERVER['REQUEST_URI']);
$pageNum = str_replace("/", "", $newStr);
die($pageNum); //shows page #
}