Jump to content

Archived

This topic is now archived and is closed to further replies.

fix johnson

Changing default.php to index.html

Recommended Posts

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

Share this post


Link to post
Share on other sites
[!--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.

Share this post


Link to post
Share on other sites
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 again

Fix

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.