Create Pretty URL with any PHP filecreate a rule for .
htaccessRewriteEngine On
RewriteRule ^post/([a-zA-Z0-9_-]+)/?$ post.php?id=$1 [L,QSA]
Now you can access:
/post.php?id=123
To
/post/123/
To access its ID parameter, use $_GET['id']
coded By
@BiswaX#PHP #HTACCESS