WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Problem Moving WP from Subdir to Rootdir (5 posts)

  1. skeezicks
    Member
    Posted 6 years ago #

    Using the procedure in the Codex, I moved my WP core files from /public_html/mysite/blog to /public_html/mysite. Then I deleted everything in /public_html/mysite/blog. When I browse to mysite.com, everything looks okay.

    However when I peek browse the wp-posts table inside my wrdp1 database, the GUID field records still show '/public_html/mysite/blog'.

    And when I browse the wp-options table, the records for 'fileupload_realpath' and 'fileupload_URL' also contain /public_html/mysite/blog/wp-content.

    Is this normal and I just need to manually edit those records, or did something not go right in the transfer?

  2. shadow
    Member
    Posted 6 years ago #

    Have a look in the options table for ID 1 [HOME] and ID 39 or 40 [SITE URL] change the url settings to the new location.

  3. skeezicks
    Member
    Posted 6 years ago #

    They (the entries in mySQL) reflect the new location, as do the WordPress Address and Blog address in the WPAdmin Options General screen.

  4. moshu
    Member
    Posted 6 years ago #

    Don't worry about GUID. It has been discussed already in the forum. One thread e.g.
    http://wordpress.org/support/topic/112672?replies=9

  5. skeezicks
    Member
    Posted 6 years ago #

    Great! Another problem resolved.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.