Jump to content

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
Link to comment
https://forums.phpfreaks.com/topic/10391-changing-defaultphp-to-indexhtml/
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.
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
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.