WordPress.org

Ready to get started?Download WordPress

Forums

How to move the blog from subfolder to root? (2 posts)

  1. Jeroenla
    Member
    Posted 9 months ago #

    I have been building my blog on a subdirectory (http://www.goedinjevel.eu/blog) and now want to move it to the root. I figured I'd just move all the files involved to the root, but when you go to the new index (http://www.goedinjevel.eu/index.php) this is what I see:

    [quote]
    Fatal error: Class 'WP_Widget' not found in /home/jeroepr54/domains/goedinjevel.eu/public_html/wp-includes/default-widgets.php on line 14
    [/quote]

    So the question is: how do I fix this problem?

  2. acrane
    Member
    Posted 9 months ago #

    Weird, I thought I replied to this.

    http://codex.wordpress.org/Moving_WordPress

    All you have to do is move the main index.php file into the root, change the path name in that file to include the blog subdirectory. Then in Settings general, change the site address so that it does not include the blog directory.

Reply

You must log in to post.

About this Topic