ssuresh07 Posted November 18, 2008 Share Posted November 18, 2008 Hi, Is is possible to convert my php site to a html site. i have few pages which displays details. if it is converted, then it will have thousands of pages. this is required to do for SEO process. how to do.... thanks Link to comment https://forums.phpfreaks.com/topic/133172-is-it-possible-to-convert-php-site-to-html-site/ Share on other sites More sharing options...
trq Posted November 18, 2008 Share Posted November 18, 2008 this is required to do for SEO process. You can simply give your site the appearence of being static html by using mod_rewrite. Otherwise, you could likely use wget to spider your site and save a static html version. Link to comment https://forums.phpfreaks.com/topic/133172-is-it-possible-to-convert-php-site-to-html-site/#findComment-692630 Share on other sites More sharing options...
tibberous Posted November 18, 2008 Share Posted November 18, 2008 Thorpe speaks the truth. I'd recommend the mod_rewrite way, maintenance free once you set it up right. Link to comment https://forums.phpfreaks.com/topic/133172-is-it-possible-to-convert-php-site-to-html-site/#findComment-692733 Share on other sites More sharing options...
daveoffy Posted November 18, 2008 Share Posted November 18, 2008 the mod_rewrite way shouldn't take that long to do also. If you have a header.php file that will help a lot and make it faster. Link to comment https://forums.phpfreaks.com/topic/133172-is-it-possible-to-convert-php-site-to-html-site/#findComment-692995 Share on other sites More sharing options...
trq Posted November 18, 2008 Share Posted November 18, 2008 the mod_rewrite way shouldn't take that long to do also. If you have a header.php file that will help a lot and make it faster. How exactly? Link to comment https://forums.phpfreaks.com/topic/133172-is-it-possible-to-convert-php-site-to-html-site/#findComment-693003 Share on other sites More sharing options...
Mchl Posted November 18, 2008 Share Posted November 18, 2008 I suppose he's talking about header.php being a single entry point or something like that... I'm not really into mod_rewrite so I'm just guessing what he meant Link to comment https://forums.phpfreaks.com/topic/133172-is-it-possible-to-convert-php-site-to-html-site/#findComment-693028 Share on other sites More sharing options...
DarkWater Posted November 18, 2008 Share Posted November 18, 2008 I suppose he's talking about header.php being a single entry point or something like that... I'm not really into mod_rewrite so I'm just guessing what he meant Or maybe just a universal header type thing? header.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <title>Title</title> <link rel="stylesheet" type="text/css" href="/style.css" /> <link rel="stylesheet" type="text/css" href="/geshi.css" /> <script src="/js/mootools.js" type="text/javascript"></script> </head> Or something. Idk. Link to comment https://forums.phpfreaks.com/topic/133172-is-it-possible-to-convert-php-site-to-html-site/#findComment-693066 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.