Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   PHP / mySQL (http://siteownersforums.com/forumdisplay.php?f=10)
-   -   How to remove .php from url? (http://siteownersforums.com/showthread.php?t=149518)

knojiyak 12-17-2014 10:18 AM

How to remove .php from url?
 
Dear Friends,

Please help me.

I want to remove .php From url.
.php replace with .html

Thank You.

Fazebook | Fazebook Blog

george.web13 01-21-2015 02:25 AM

You have to use mod rewrite in your .htaccess file.
example :

RewriteEngine On
RewriteRule ^page1\.html$ page1.php [L]
RewriteRule ^page2\.html$ page2.php [L]

satvat 02-05-2015 04:06 AM

RewriteEngine On
RewriteRule ^page1\.html$ page1.php [L]
RewriteRule ^page2\.html$ page2.php [L]

Umar Farooque k 02-07-2015 01:15 PM

if you have put the php script in your page then you cannot change

kathyrose 03-05-2015 12:31 AM

You do so from your admin or cpanel of the site change extension of the web pages from there.


All times are GMT -7. The time now is 05:50 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.