the urls are like this https://example.com/xyz.php
i want it to change
PLease give me answer how can i create a htacess file
the urls are like this https://example.com/xyz.php
i want it to change
PLease give me answer how can i create a htacess file
For you to make your .htaccess file work with URL rewriting, your Apache HTTP Server must have a mod_rewrite, and use these directives in your .htaccess file:
RewriteEngine on
RewriteRule ^/([a-zA-Z0-9_-]+)$ /$1.php [L]