Dear folks,
Make a One Page Site

RewriteCond %{HTTP_HOST} ^$  
RewriteRule ^$ 1pagesite.php [L]

Presently, the house page does present the 1pagesite.php properly.

However, when another file is asked for say, test.php that is around the server indeed, that test.php is proven!, while I must point ALL and then any trafic towards 1pagesite.php for the moment. Steps to make this happen sothat not one other file or folder/file or anything following this domain is presented and things are directed towards 1pagesite.php?

Thanks greatly for hints and tips to solve this puzzle. Cheers, Mike

RewriteRule ^.*(html|php)$ 1pagesite.php [L]

Note: This redirects everything, including demands for exterior CSS stylesheets, images, etcetera.

Are you able to do this rule:

RewriteCond %{HTTP_HOST} ^$ [NC]
RewriteCond %{REQUEST_URI} !1pagesite.php$
RewriteRule \.(php|html)$ /1pagesite.php [R=302,L]

to redirect only php and html pages to 1pagesite.php

Your redirection only match ^$ in other words just the root page (empty string).

RewriteCond %{HTTP_HOST} ^$  
RewriteRule ^.*$ 1pagesite.php [L]

So every request is going to be rerouted to 1pagesite.php page (images, css, ... as Sander stated).

If you want to filter some content you can include a

RewriteCond %{REQUEST_FILENAME} !^.*\.(css|jpg)$

make it possible for .css and .digital file out of your / directory to become offered. This is often personalized for other subdirecories files etc...