• I need to move WordPress out of my root directory and into a WordPress folder.
    I have tried to move everything and it does not work.
    I restored it back to original so it is still working fine.
    Do I need to export and install a fresh WordPress and import?

Viewing 4 replies - 1 through 4 (of 4 total)
  • It sounds like a moving WordPress issue. See “Moving Directories On Your Existing Server” on this post:

    http://codex.wordpress.org/Moving_WordPress

    Thread Starter anothen

    (@anothen)

    YES! That’s it thank you!!

    Thread Starter anothen

    (@anothen)

    Well, I think the previous Webmaster has tinkered around with the WP admin section. I do not have the two options:

    WordPress Address (URL) …
    and
    Site Address (URL) …

    in the Administration > Settings > General panel.

    I checked my own personal version of WordPress and compared it to the WordPress I am currently working on. (to avoid confusion, the WordPress I am currently working on was recently migrated from a different host. My personal version is completely separate and is not public but is for experiment and practice.)

    I checked the code in the /wp-admin/options-general.php file and nothing seems to be commented out.

    <?php if ( !is_multisite() ) { ?>
    <tr>
    <th scope="row"><label for="siteurl"><?php _e('WordPress Address (URL)') ?></label></th>
    <td><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>"<?php disabled( defined( 'WP_SITEURL' ) ); ?> class="regular-text code<?php if ( defined( 'WP_SITEURL' ) ) echo ' disabled' ?>" /></td>
    </tr>
    <tr>
    <th scope="row"><label for="home"><?php _e('Site Address (URL)') ?></label></th>
    <td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>"<?php disabled( defined( 'WP_HOME' ) ); ?> class="regular-text code<?php if ( defined( 'WP_HOME' ) ) echo ' disabled' ?>" />
    <p class="description"><?php _e('Enter the address here if you want your site homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></p></td>
    </tr>

    Apparently the Multisite script has influence on this. There is a “Network Admin” which is private and separate from the main site.

    Thread Starter anothen

    (@anothen)

    ok, this is interesting…

    It seems that the multisite is the culprit.

    muaaaaaahahahahahaha!
    I disabled multisite hehe

    That’s the advantage of having a small amount of
    PHP knowledge. All I did was go into the wp-config.php
    file and at the top, the very first statement was:

    define('MULTISITE', true);

    I snuck in and changed it to false, now everything
    works fine. I now have the ability to move WordPress
    to it’s own folder, I’ll try to get that done this evening.

    After the move I’ll put it back the way it was, but honestly,
    I do not see a need for having a multisite.

    YAAAAAAY!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘moving WordPress out of root into WordPress folder’ is closed to new replies.