Can't find index.html in cpanel

6 replies
Hello, I am a newbie trying to fix an error on my homepage code, but I can't find the file in my cpanel. I was told to look for index.html, no such file in /public html. The closest thing there is index.php. The exact problem I am trying to fix is this:

The following inline script blocks were found in http://www.bigfishingshop.com/ between an external CSS file and another resource. To allow parallel downloading, move the inline script before the external CSS file, or after the next resource.
  • Inline script block #1
The following external CSS files were included after an external JavaScript file in http://www.bigfishingshop.com/. To ensure CSS files are downloaded in parallel, always include external CSS before external JavaScript. I see the above problem when I look at my source code, but where in cpanel can I fix it???
Thanks,
bigfishingshop
#cpanel #find #indexhtml
  • Profile picture of the author hitmobi
    index.php is the file you were looking for, but you wont find that there. You are running your site on wordpress. You need to find your theme's header.php

    Easier way to do it is like this: log in to your wordpress admin panel.
    press appearance-editor
    Now on the right side there are a lot of files. Choose header.php.

    I don't follow really well, what you needed to change but as i understand its between <head> tags...
    {{ DiscussionBoard.errors[4647394].message }}
    • Profile picture of the author bigfishingshop
      Originally Posted by hitmobi View Post

      index.php is the file you were looking for, but you wont find that there. You are running your site on wordpress. You need to find your theme's header.php

      Easier way to do it is like this: log in to your wordpress admin panel.
      press appearance-editor
      Now on the right side there are a lot of files. Choose header.php.

      I don't follow really well, what you needed to change but as i understand its between <head> tags...
      I found the header.php file, but the code I am looking for is not in that file. If you could go to my homepage (just add dot com to my screen name), look at the source code, scroll down a little until you get to
      <!-- END SEO -blah blah blah...>
      This line and the following is where the problem description in my OP is pointing to.
      I need to find out how/where to change those lines, i.e: move the CSS to above the script instead of below it. It is, as you stated, between the head tags. I looked in several of those appearance-editor files and I do not see that code in any of them. :confused:
      {{ DiscussionBoard.errors[4647766].message }}
  • Profile picture of the author benjaedging
    Try getting access to your FTP would be easier for you to fix such an errors.
    {{ DiscussionBoard.errors[4647430].message }}
    • Profile picture of the author bigfishingshop
      Originally Posted by benjaedging View Post

      Try getting access to your FTP would be easier for you to fix such an errors.
      I looked in my /public FTP file and it is empty.
      {{ DiscussionBoard.errors[4647772].message }}
  • Profile picture of the author ernestrategos
    You should look into public_html folder not public_ftp, try.
    Signature
    {{ DiscussionBoard.errors[4673427].message }}
  • Profile picture of the author reneecrump
    If you have IndexIgnore in your .htaccess file, no one can see the directory listing unless they have the ftp login and password, or they have the login and password you use to get to cpanel.
    {{ DiscussionBoard.errors[4674325].message }}

Trending Topics