• Resolved jonbw12

    (@jonbw12)


    Hi guys I have just recently reinstalled wordpress due to a 404 problem and this is a problem I have had for a while when I had my old website. After installing FTP, doing the database and getting the installation on wordpress everything is fine, everything is accessible, however there is one problem that might be the easiest thing, but I have not got a clue what to do.

    when I enter my website name http://www.freedomwealthincome.com, it goes straight to this:

    Index of /

    Icon Name Last modified Size Description[DIR] ?????/

    Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.10 Server at http://www.freedomwealthincome.com Port 80

    Obviously the ? mark is my folder name, however when I click on that I can get to my website no problems, the problem I have is that everytime I enter the above website I get to this page and I have to click onto that file to access my site properly. This has held things up and I am stuck as this doe not look professional and it is a bit of a hassle. Any suggesstions on what to do would be greatly appreciated.

    Jon.

Viewing 10 replies - 1 through 10 (of 10 total)
  • looks like you using wordpress from folder so the index.php file you have in root public_html if you use cpanel you need to add your folder on line 17

    require(‘./foldername/wp-blog-header.php’);

    Remember if you update this file may be over written

    Thread Starter jonbw12

    (@jonbw12)

    Hey guys I am trying these leads, @ Rich ‘elfin’ Pedley this is understandable to an extent, I had to look at other resources and it does make sense but I am still struggling with it.

    @ govpatel, I am looking into this as this makes abit more sense, however as I am considered a newbie, where abouts in Cpanel would you go? Also I have added (‘./foldername/wp-blog-header.php’); in my Index.php, using notepad.

    I am right putting the folder that pops up when its on the index of/ screen?

    Jon

    Thread Starter jonbw12

    (@jonbw12)

    I have gone onto this website: http://singhmadhuri.wordpress.com/2009/09/07/migrating-wordpress-from-root-to-subdirectory-on-webhost/

    and followed everything, however I am now getting this error:

    Parse error: syntax error, unexpected ‘/’ in /home/freedomw/public_html/index.php on line 17

    I moved the .htaccess and index.php in FTP ontop of the public_html, but I don’t know if there is a problem with (‘./foldername/wp-blog-header.php’); what I have entered?

    You need to change

    foldername

    to the folder name you have wordpress in.

    Thread Starter jonbw12

    (@jonbw12)

    Cheers for your help @govpatel, however I am still getting the:

    Parse error: syntax error, unexpected ‘/’ in /home/freedomw/public_html/jonbw/index.php on line 17

    My directory has changed and I can type in ‘www.freedomwealthincome.com without the jonbw at the end, however I can’t login to my admin page.

    Below is my Index.php that I altered within cpanel.

    <?php
    /**
    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */
    require(‘./jonbw/wp-blog-header.php’);

    Hope you can help again,

    thanks

    Jon.

    You are suppose to make a copy of index.php file in root and have all files and folders in jonbw if you want to use wordpress from a folder.

    To log in admin you will still need to use

    http://www.freedomwealthincome.com/jonbw/wp-admin

    seems as if you have problem with style.css

    Thread Starter jonbw12

    (@jonbw12)

    Govpatel…. THANKYOU!!!!!!! I have done it, after all the hours, it was just that simple… I just wanted to thankyou. I made the copy but what I was doing was dragging the file and it says copy on your cpanel. So anyways thankyou once again and hope to be in contact again. Do you have a site that I can refer to incase I need some help again?

    Jon.

    You are welcome yes I have my website click on my name in will take you to my website where I have articles and videos you register there and stay in touch.

    After a whole day with this same problem I have found the solution for the index of/ problem.

    http://blog.mauricioquito.com/?p=50

    There is a tutorial here to solve it…. I hope this can help

    Mauricio

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Index of/’ is closed to new replies.