Need help.. wanted to export site into static php

Hello,

I have a website in php and have designed in a special way… but i am stick at some level and need some php advice.

i have a store with products like this: url.com/=?product1.php

I wanted to convert the whole site into: url.com/product1.php, product2.php

like the whole site converted into static php and the products name get converted into static page so i just upload the pages on ftp without having much load on the database when it leeches the data in real time.

kindly suggest me what to do

I’ll assume your actually meaning
url.com/?product1.php
and wanting
url.com/product1.php

Put this in the root directory and name it “.htaccess”

# Turn it on
RewriteEngine on

# /product1.php =  /?product1.php
# untested
RewriteRule ^/([a-zA-Z0-9]+\\.php)$  /?$1