bluetoother Posted October 7, 2007 Share Posted October 7, 2007 is there a way to convert the page's extensionfrom .php to .html with out installing any programs on the serverin case web master is using a remote hosting serveri mean do it using php code//sorry guys the title starts with convert ,, not conver Link to comment Share on other sites More sharing options...
Synook Posted October 7, 2007 Share Posted October 7, 2007 Uh, you mean just rename the file or make it so that PHP code in .html files is executed? If the former then you can use the rename() function, but the latter is not possible through PHP, you need to change the server's settings. Link to comment Share on other sites More sharing options...
bluetoother Posted October 7, 2007 Author Share Posted October 7, 2007 i want search engines to see my web pages with .html extensioneven if it is a .php pagebecause i need to run php functions i aim to get higher rank for my pages in search engines Link to comment Share on other sites More sharing options...
Synook Posted October 7, 2007 Share Posted October 7, 2007 What about using mod_rewrite? http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html Link to comment Share on other sites More sharing options...
Synook Posted October 7, 2007 Share Posted October 7, 2007 Something like RewriteRule (.*)\.php $1.html That may work I'm not too good with regex Link to comment Share on other sites More sharing options...
bluetoother Posted October 7, 2007 Author Share Posted October 7, 2007 Okwhere to find posts here or other web sitesabout giving tips to increase pages rank in search engines? Link to comment Share on other sites More sharing options...
Synook Posted October 7, 2007 Share Posted October 7, 2007 There is a recent thread here, people should start posting soon. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.