fix johnson Posted May 24, 2006 Share Posted May 24, 2006 Hello,I have a program that opens with index.html which reloads default.php which is the start of program. You can view it at [a href=\"http://barrie101.com\" target=\"_blank\"]http://barrie101.com[/a] When doing search engine submission I received notices from many different sites that this was not acceptable. Is this hard to change, is there a tutorial on this subject or do I have to hire someone to do this. I am a newbie and definately not a programmer. I can follow simple instructions, usually.Thank you,Fix Johnson Quote Link to comment https://forums.phpfreaks.com/topic/10391-changing-defaultphp-to-indexhtml/ Share on other sites More sharing options...
Prismatic Posted May 24, 2006 Share Posted May 24, 2006 [!--quoteo(post=376829:date=May 24 2006, 05:34 PM:name=fix johnson)--][div class=\'quotetop\']QUOTE(fix johnson @ May 24 2006, 05:34 PM) [snapback]376829[/snapback][/div][div class=\'quotemain\'][!--quotec--]Hello,I have a program that opens with index.html which reloads default.php which is the start of program. You can view it at [a href=\"http://barrie101.com\" target=\"_blank\"]http://barrie101.com[/a] When doing search engine submission I received notices from many different sites that this was not acceptable. Is this hard to change, is there a tutorial on this subject or do I have to hire someone to do this. I am a newbie and definately not a programmer. I can follow simple instructions, usually.Thank you,Fix Johnson[/quote]Well all it basically requires is renaming the file. One problem with changing a .php file to .html is if your server is not set up to parse html files as php files, all your code will be spit out for the world to see. I recommend deleting the index.html file, and renaming the default.php file to index.php. Quote Link to comment https://forums.phpfreaks.com/topic/10391-changing-defaultphp-to-indexhtml/#findComment-38727 Share on other sites More sharing options...
fix johnson Posted May 24, 2006 Author Share Posted May 24, 2006 Thanks for the info. I tried changing file and you were right, it listed every bit of code on the page. I even tried changing the Default.html file to index.html but ended up with less code visible but still code on the page. Weird setup, can't understand why someone would set up a site this way?Thanks againFix Quote Link to comment https://forums.phpfreaks.com/topic/10391-changing-defaultphp-to-indexhtml/#findComment-38739 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.