While I was setting up Drupal and bringing the site to life, I wanted the pre-existing index.html to be the page that visitors would get. I would get into the Drupal environment by explicitly specifying index.php instead.

New to Drupal, I was grabbing clues and help from drupal.org, from this forum, and from other places out there in Googleland. I found an advice that told me to edit a file (using an editor, not Drupal) and replace "index.php" with the name of the page I wanted instead.

I hope that's clearer than mud.

Now I want index.php to be the default home page, and I can't remember what file I changed earlier.

If anyone reading this can overlook my stupidity for not making notes, could you please suggest how I might fix this?

Comments

scoutbaker’s picture

Rule Number One: Don't Hack Core!

Re-upload the default 6.x core files and overwrite whatever you changed. You should follow the instructions in UPGRADE.txt with regards to what you should backup and save (i.e., the sites directory, etc.).

You can also change the front page from within Drupal without hacking anything. Go to Administer->Site configuration->Site information and set the front page.
---
"Nice to meet you Rose...run for your life." - The Doctor
My first public Drupal site - EyeOnThe503

ArthurC’s picture

The file I had changed was .htaccess. I've reset it and all is well. It was stupid of me not to have made a note.

Where I hit the wall and lost days, was trusting that the search function in Vista was telling the truth. The truth is, the @*&%#$ search program wasn't doing its job. Still haven't got that fixed, but I downloaded Agent Ransack and it found .htaccess within seconds. Whew.

You are absolutely right, however, about hacking - and I'm usually very careful about not doing that.

Thanks.