Ok all sorted, an hour or 2 later when my second wind kicked in I figured it out :-) heres an explanation for people that are having the same problems.
I ended up having:-
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.)tester/(.)$ tester.php [l]
These 2 lines:-
Options +FollowSymLinks
RewriteEngine on
Basically turn it on an get it ready for use.
The line:-
RewriteRule (.)tester/(.)$ tester.php [l]
I'll break down in parts:-
RewriteRule - This Sets A New Rule To Be Used
(.)tester/(.)$ - Regexp Of The Url To Redirect To File (in thise case anything which contains "tester/".
tester.php - The File To Redirect To
[l] - means you have finished an do everything
This doesn't pass the paramas on but I didn't want that (I'm working with other peopels code so little choice ethier way)
I used:-
$script = substr($SCRIPT_FILENAME, strlen($_SERVER['DOCUMENT_ROOT'])+1);
$url = substr($REQUEST_URI, strpos($REQUEST_URI, $script)+strlen($script)-3, strlen($REQUEST_URI));
$explode_url = preg_replace('/\?.*$/', '', $url);
$params = explode('/',trim($explode_url),6);
for ($i = 0; $i < count($params); $i++){
if (strlen($params[$i]) > 0)
$params[$i] = eregi_replace('\.html', '', $params[$i]);
else
unset($params[$i]);
}
I have limited it to 6 directories, but thats just by choice. Downside to this is the fact you don't have keys passed in so you HAVE TO know the order of which your directories will be in the URL.
I said before that it is posible to do with any file an any directory, I still think this is possible but instead of "(.)tester/(.)$ tester.php" you'll use variables instead of the const value of "tester". Don't think it would be to hard but no time to figure it out now.
If/When I do will post the info back again here.
thank you