• 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 - 166 through 180 (of 185 total)
  • Thread Starter pwdiane

    (@pwdiane)

    Yes, I get an email when you post something on this topic. If you go to our site and add diane@ the web site address, I get email there.

    Do you have a suggestion for a theme that is more stable, but will adjust to viewing on any device?

    We have the url with /wp appended published. Is there a way to redirect people to im.mikediane.com if they use a legacy url?

    I would just stay with TwentyFifteen, theres some nice color schemes you can customize and it’s great responsive. Consider it for your other sites as well.

    Refresh your browser and see post 166 (two up from here) for other sites advice, the legacy url, and final cleanup.

    Thread Starter pwdiane

    (@pwdiane)

    I am befuddled! When I go to my root directory: /im I do not see a wp-content folder. How is this possible? Isn’t that where the twentyfifteen theme should be?

    Like you wrote, “it’s magic” … the install remains at /wp/ …

    We did a “virtual relocation” to make it “appear” to visitors be at the root. I had you set that up yesterday, remember you edited the /index.php.bad and then we renamed it today after we fixed the site?

    That’s is all you should have done a week ago to accomplish your objective.

    You dashboard login still has the suffix http://im.mikediane.com/wp/wp-admin

    Thread Starter pwdiane

    (@pwdiane)

    OK, now you’ve done it! The magician revealed the secret! OK, I’ll change those files like you said in post 166

    Thread Starter pwdiane

    (@pwdiane)

    Now the theme seems to be gone. It goes to the site, but is just plain with no theme

    Thread Starter pwdiane

    (@pwdiane)

    I can’t get into the admin log in either.

    Show me the first 5 lines from twentyfifteen/functions.php , enclosed in backticks …

    Or did you change some other file by mistake?

    Thread Starter pwdiane

    (@pwdiane)

    <?php
    update_option('siteurl','http://im.mikediane.com');
    //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
    Thread Starter pwdiane

    (@pwdiane)

    it is /wp/wp-content/themes/twentyfifteen/functions.php
    for sure

    Ok try it without the 2 leading forward slashes on line 3

    <?php
    update_option('siteurl','http://im.mikediane.com');
    update_option('home','http://im.mikediane.com/wp');

    Thread Starter pwdiane

    (@pwdiane)

    Still no css

    Thread Starter pwdiane

    (@pwdiane)

    admin is saying session expired and gives a log in, but goes to that setup page.

    OK put back the suffix on line 2

    <?php
    update_option('siteurl','http://im.mikediane.com/wp');
    update_option('home','http://im.mikediane.com/wp');

    Thread Starter pwdiane

    (@pwdiane)

    Everything is back up and running.

Viewing 15 replies - 166 through 180 (of 185 total)

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