[resolved] Confusion over moving a WordPress site to the root (5 posts)

  1. johndove523
    Posted 4 years ago #

    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,


  2. esmi
    Forum Moderator
    Posted 4 years ago #

    The latter works perfectly & is far easier to carry out.

  3. johndove523
    Posted 4 years ago #


    Referring to the latter, Step 6:

    Change the following and save the file. Change the line that says:
    to the following, using your directory name for the WordPress core files:

    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.

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    does it work the same in reverse?

    Yes. Just see this section instead.

  5. johndove523
    Posted 4 years ago #

    Thank you. : )

Topic Closed

This topic has been closed to new replies.

About this Topic