• Resolved gercos

    (@gercos)


    Hi,

    I installed WP next to Joomla on my site.
    Joomla was in the root, WP in the subdir (\blog).
    I tried to delete Joomla (witch was succesfull) and then set the WP site to the toplevel. I changed the Site adress in the general setting s off WP to the root (www.costerhome.nl)
    Next, i copied index.php & .htaccess to the root.
    I changed the index.php file:

    <?php
    /**
    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__ ) . ‘/wordpress/wp-blog-header.php’ );

    I inserted the /wordpress part in the last line.

    Now i can’t login or make my site visable.
    I do have access to my DirectAdmin panel at my host.

    Where did i go wrong?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi ,

    Hi is ther any problem to move the wordpress files to root ?

    Have you tried moving all the files from sub-directory to the main directory ?

    @gercos, Without move all files this one possible to run site with main url.

    Follow Step 2 :

    Must change (WordPress address) siteurl with your sub directory url. (https://example.com/wordpress)

    Just move 2 files in root:

    1) .htaccess (Please remove if sub directory path exits on RewriteBase /wordpress/)
    2) index.php (/wp-blog-header.php to /wordpress/wp-blog-header.php)

    Please change if not work then post your .htaccess code.

    Thread Starter gercos

    (@gercos)

    Copyed all the files from the \blog dir to the root \public_html.

    Site is in the air again and i can logon at the backEnd.

    (Guess i do have a lot of garbage files now, but that is for later concern)

    Thanx guys.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Move to higher level failed’ is closed to new replies.