You can use .htaccess to call any page.php so it will show up as “page” and they will think it’s a folder. You can also have .htaccess force index.php to open without using index.php. Just yoursite.com/ will open up.
I have the code here:
You don’t have to include filename.php or filename.htm, html or anything like that. I use it so mysite.com/mypage.php will open with mysite.com/mypage/ and so on.
RewriteEngine On
#Below if you want contact.php the URL will be
#www.domain.com/page/1/
RewriteRule ^page/1/$ contact.php
#And if you want about.php the URL will be
#www.domain.com/page/2/
RewriteRule ^page/2/$ about.php