• Resolved pwdiane

    (@pwdiane)


    I was trying to follow directions from http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory to redirect from a pre-existing subdirectory to the root directory. I made a mistake in the index.php:in copying, adding a line, and moving it. Now I cannot access the site nor the wp-admin.

    My install is at: im.mikediane.com/wp
    The root directory I was trying to use was: im.mikediane.com
    I had changed the site address on the General panel.

    Can anyone please help?
    Thank you,
    Diane

Viewing 15 replies - 136 through 150 (of 185 total)
  • Good, back to twentyfifteen/functions.php …

    Do you have this part exactly? if so , on what line numbers?

    /**
     * Twenty Fifteen functions and definitions
     *
     * Set up the theme and provides some helper functions, which are used in the
     * theme as custom template tags. Others are attached to action and filter
     * hooks in WordPress to change core functionality.
     *
     * When using a child theme you can override certain functions (those wrapped
     * in a function_exists() call) by defining them first in your child theme's
     * functions.php file. The child theme's functions.php file is included before
     * the parent theme's file, so the child theme functions would be used.
     *
     * @link https://codex.wordpress.org/Theme_Development
     * @link https://codex.wordpress.org/Child_Themes
     *
     * Functions that are not pluggable (not wrapped in function_exists()) are
     * instead attached to a filter or action hook.
     *
     * For more information on hooks, actions, and filters,
     * {@link https://codex.wordpress.org/Plugin_API}
     *
     * @package WordPress
     * @subpackage Twenty_Fifteen
     * @since Twenty Fifteen 1.0
     */

    Thread Starter pwdiane

    (@pwdiane)

    The editor I’m using doesn’t show the line numbers, but if I count the
    <?php as 1, then these begin on line #4

    Thread Starter pwdiane

    (@pwdiane)

    They are exactly the same as what you posted.

    Ok that’s contrary to what you gave me a minute ago.

    Show me again the first five lines of twentyfifteen/functions.php and try to enclose in backticks(below the reply box do you see those backtick instructions?)

    Thread Starter pwdiane

    (@pwdiane)

    <?php
    update_option('siteurl','http://im.mikediane.com/wp');
    update_option('home','http://im.mikediane.com/wp');
    /**
     * Twenty Fifteen functions and definitions
     *
     * Set up the theme and provides some helper functions, which are used in the
     * theme as custom template tags. Others are attached to action and filter
     * hooks in WordPress to change core functionality.
     *
     * When using a child theme you can override certain functions (those wrapped
     * in a function_exists() call) by defining them first in your child theme's
     * functions.php file. The child theme's functions.php file is included before
     * the parent theme's file, so the child theme functions would be used.
     *
     * @link https://codex.wordpress.org/Theme_Development
     * @link https://codex.wordpress.org/Child_Themes
     *
     * Functions that are not pluggable (not wrapped in function_exists()) are
     * instead attached to a filter or action hook.
     *
     * For more information on hooks, actions, and filters,
     * {@link https://codex.wordpress.org/Plugin_API}
     *
     * @package WordPress
     * @subpackage Twenty_Fifteen
     * @since Twenty Fifteen 1.0
     */

    Much better! Try login at http://im.mikediane.com/wp/wp-admin

    Thread Starter pwdiane

    (@pwdiane)

    I’m in!

    Activate theme twentyfifteen

    Thread Starter pwdiane

    (@pwdiane)

    Done

    see your site at http://im.mikediane.com/wp/ ?

    Thread Starter pwdiane

    (@pwdiane)

    Yes, I do!

    Thread Starter pwdiane

    (@pwdiane)

    Yay!!!

    I think we’re all done, except you need to find a new theme to replace responsive, it’s messed up and broke my test site today!

    Thread Starter pwdiane

    (@pwdiane)

    oh my! I’m sorry!

    You have been a great help! I could never have done it without you!

    Thread Starter pwdiane

    (@pwdiane)

    Is there anything I can do for you?

Viewing 15 replies - 136 through 150 (of 185 total)

The topic ‘Changing directory now cannot get into admin’ is closed to new replies.