• Resolved johndove523

    (@johndove523)


    I apologize for posting a redundant topic (I have looked at numerous posts on moving a site here), but I’m seeing two different references that people point to as the answer and I need to know which procedure is the right one.

    Presently, I have a subdirectory install, and soon, I will need to move the site to the root (caspca.org/wordpress/ to caspca.org. In searching the forum on this topic, I see some people referring to these instructions:

    http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site(On Your Existing Server section)

    and others I see pointing to this:

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install (Using a Pre-Existing Subdirectory Install section)

    The FORMER seems to be the correct procedure, because in Step 10, it talks about a search & replace plugin to change all permalink paths from website.com/wordpress/ to website.com/, whereas the latter does not instruct me to do this. Can anyone please confirm which one of these procedures to use.

    Thank you,

    John

Viewing 4 replies - 1 through 4 (of 4 total)
  • The latter works perfectly & is far easier to carry out.

    Thread Starter johndove523

    (@johndove523)

    esmi,

    Referring to the latter, Step 6:

    Change the following and save the file. Change the line that says:
    require(‘./wp-blog-header.php’);
    to the following, using your directory name for the WordPress core files:
    require(‘./wordpress/wp-blog-header.php’);

    this is the opposite of what I want to do (again, I’m moving TO the root, FROM a /wordpress/ subdirectory…does it work the same in reverse? My big concern is breaking all the (hundreds) of links that presently point to …/wordpress/whatever (images, pdfs, posts, etc). – thanks.

    does it work the same in reverse?

    Yes. Just see this section instead.

    Thread Starter johndove523

    (@johndove523)

    Thank you. : )

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Confusion over moving a WordPress site to the root’ is closed to new replies.