Dear Friends,
Please help me.
I want to remove .php From url.
.php replace with .html
Thank You.
Dear Friends,
Please help me.
I want to remove .php From url.
.php replace with .html
Thank You.
You can do it with modrewrite.
In your .htaccess file write this :
RewriteEngine On
RewriteRule ^Profile.\html$ profile.php [L]
RewriteRule ^Contact.\html$ contact.php [L]
Of course you can do it your pages/names you want!
You have to add the following code:
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^([^\.]+)/$ $1.php
|
Bookmarks