Jump to content


Photo

Changing default.php to index.html


  • Please log in to reply
2 replies to this topic

#1 fix johnson

fix johnson
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 24 May 2006 - 10:34 PM

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

#2 Prismatic

Prismatic
  • Members
  • PipPipPip
  • Advanced Member
  • 503 posts
  • LocationSan Diego

Posted 24 May 2006 - 10:40 PM

[!--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) View Post[/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.

#3 fix johnson

fix johnson
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 24 May 2006 - 11:54 PM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users