• i currently am working on a wordpress site under the directorty

    maclaarte.org/wordpress

    at this point in time for anyone to see the site they have to type maclaarte.org/wordpress

    i would like to have it so that when the user goes to maclaarte.org the wordpress site comes up.

    Can i simply move the files to the main directory or will i have issues with the database. Please help me out!!! thanks!

Viewing 15 replies - 1 through 15 (of 24 total)
  • Thread Starter chuco61

    (@chuco61)

    ive read through a few articles that make wordpress in its own sub directory but i want the opposite.

    Thread Starter chuco61

    (@chuco61)

    anybody know? please..

    Follow the instructions..

    Moving from your current directory: maclaarte.org/wordpress
    To your root directory: maclaarte.org/

    https://codex.www.ads-software.com/Moving_WordPress#Moving_WordPress_Within_Your_Site

    Don’t forget to read:

    If you want to move WordPress to your root directory, make sure all index.php, .htaccess, and other files that might be copied over are backed up and/or moved, and that the root directory is ready for the new WordPress files.

    Thread Starter chuco61

    (@chuco61)

    How do you prep the root directory? Thanks ALOT!!

    Are you replacing your existing site with your WordPress site?

    Thread Starter chuco61

    (@chuco61)

    yes i will be replacing the old html site with the new wordpress.
    i attempted to copy the files to another directory and when i attempted to put in the new url it did not work. eek!

    You keep the WordPress files in the same sub-directory (maclaarte.org/wordpress), but you can have the blog address as maclaarte.org. Steps are clearly spelt out in Codex at this URL:

    https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory

    If you want to move the wordPress files also to the root for any reason, it is a different matter though.

    @sweetangst:

    Some of the steps that are shown in the video are a bit circumlocutory and unnecessary. Much simpler alternatives can be employed.

    S.K

    S.K

    @kichu: The steps in that video are exactly correct if you want to move your blog from a subdirectory to root…as you acknowledged when you wrote:

    If you want to move the wordPress files also to the root for any reason, it is a different matter though.

    If that is what one wants to do, then there are no unnecessary steps in that video.

    If you want to leave your blog files in a subdirectory and have it look like it’s in root then the process you pointed out will work.

    Thread Starter chuco61

    (@chuco61)

    Great. it would be much easier for me to leave everything in the sub directory and have the main URL come up as maclaarte.org, however, say if someone clicks on contact us, will this appear as maclaarte.org/contactus or as maclaarte.org/wordpress/contactus

    thanks everyone for the great info!

    figaro,

    The video is a cool job describing the detailed procedure for moving the WP files from the sub-directory to root. Kudos for that.

    What I meant was there are some steps which could have been replaced by simpler procedure like editing the siteurl on the phpmyadmin itself and saving it instead of dumping the database, editing the data with a text editor, dropping the database and re-uploading it.

    That was what I meant.

    @chuco61
    If you follow the procedure laid down, it will be “maclaarte.org/contactus”.

    HTH

    S.K

    @kichu: See the following video and maybe that will show you the problem with just changing those two values.

    https://educhalk.org/blog/?p=68

    EDIT: It has been a while since I did that video…it may not clearly show the problem. Basically, the problem is that you may (and probably will) have the blog url scattered throughout the database and simply changing those two values will not be enough.

    This applies a relative positioning of the WP files and siteurl (& home) between the root and subdirectory in the same server set up.

    And I feel changing the 2 values may not cause any problem since any other reference to the old URL in the database might only be to the files, which in any case would not change.

    Thanks and regards

    S.K

    Seriously? You’re going to confuse the original poster. Keep it simple.

    You all give the people asking the questions entirely too much credit. They have a simple problem and want a simple solution. Stop trying to overcomplicate it just because you can.

    Thanks for your gracious advice.

    But the OP’s question has been amply answered, as you can find out.

    And nothing wrong in my obtaining some extra knowledge from an expert as a spin-off benefit!

    Have a heart!

    S.K

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Moving wordpress file to new directory’ is closed to new replies.