Please help, I messed up!

4 replies
  • WEB DESIGN
  • |
First off I will say I am pretty decent with computers so I am not a complete newby, however, html is new to me and has not been something I have dealt with until recently. Learning as I go. I am not a programmer.

I have a wordpress site that I have been putting together. I was playing around with learning how to upload a pre-made html sales page to my cpanel (Host Gator) and now I can't get back to how it was before. Now my homepage is the file I uploaded instead of my real homepage. How can I fix this? Thanks in advance.
#messed
  • Profile picture of the author Istvan Horvath
    It has nothing to do with html and/or "programming".

    It is about understanding the basics of web site hosting: in every directory on your server there can be only ONE index page - i.e. the page that displays by default when typing the URL of that folder/directory:

    - example.com <== root folder (site's main index)
    or
    - example.com/something/ <== subdirectory

    Furthermore, most decent servers have a priority order for displaying index files, e.g.:
    1. index.html
    2. index.php
    3. index.shtml
    4. whatever.........

    WP has its index as index.php in the root folder.

    DO NOT upload any other index files there.
    What is not WP -> put it in a subdirectory. Solved.
    Signature

    {{ DiscussionBoard.errors[8448291].message }}
    • Profile picture of the author chagler
      Thanks for the response but how can I get the old one back?
      {{ DiscussionBoard.errors[8448308].message }}
      • Profile picture of the author IvoryPulse
        Try renaming index.html into something else.
        {{ DiscussionBoard.errors[8448349].message }}
        • Profile picture of the author Karen Blundell
          @chagler - go to your File Manager in your cPanel and navigate to your public_html directory - rename index.html to something else -as Istvan posted, it's best to create a sub-directory to place all non-WordPress web pages in

          good luck with your web project!
          Signature
          ---------------
          {{ DiscussionBoard.errors[8449500].message }}

Trending Topics