![]() |
#1 |
Registered User
Join Date: Dec 2014
Posts: 1
|
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 |
![]() |
![]() |
![]() |
#2 |
Registered User
Join Date: Jul 2014
Location: Athens, Greece
Posts: 461
![]() |
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]
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#3 |
Registered User
Join Date: Dec 2014
Posts: 3
|
RewriteEngine On
RewriteRule ^page1\.html$ page1.php [L] RewriteRule ^page2\.html$ page2.php [L] |
![]() |
![]() |
![]() |
#4 |
Registered User
Join Date: Feb 2015
Posts: 29
|
if you have put the php script in your page then you cannot change
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
#5 |
Registered User
Join Date: Feb 2015
Posts: 126
|
You do so from your admin or cpanel of the site change extension of the web pages from there.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simple way to remove empty paragraph tags in wordpress website posts | arronmattwills | Graphic Design | 0 | 02-24-2014 09:02 PM |
How do I remove bad backlinks? | sinicline | 2 | 08-05-2013 07:35 AM | |
How to remove unexpected URLs from Google index result | tim wallace | Search Engine Optimization | 19 | 03-08-2013 03:42 AM |
How do I remove bad backlinks? | smileboy | Search Engine Optimization | 4 | 03-04-2012 11:40 PM |