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
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
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.
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
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