• Title phrasing might be off, but my issue, is this:

    I want my WP blog (http://megannicoledesigns.com/blog) to be in it’s own subdirectory, while WP serve from my website main page/root (http://www.megannicoledesigns.com).

    Steps I’ve already taken:

    I’ve searched and search for about a week on the forums and it seems other people are getting results with the helpful people here…and none of the other tips worked for me. I’d love some advice on how to make this work.

    There isn’t much on the site as of yet, I just want the the home theme, root page to display and have blog be a separate page. Right now it is blank white.

    FYI: I can still access my wp-admin.php.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    That should have worked for you.

    https://codex.ww.wp.xz.cn/Giving_WordPress_Its_Own_Directory

    Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Fifteen theme to rule-out a theme-specific issue.

    Thread Starter megannicole

    (@megannicole)

    James,
    Thanks so much for replying.

    Deactivated all plugins and refreshed the site; still blank.
    Switched to Twenty Fifteen WHILE plugins were deactivated and site is still blank.

    I feel I must have done something (unthinkably) wrong with the process, but I followed each step exactly and I’ve done it at least 5 times to see if I did something wrong the previous time.

    This is very frustrating and I fee like I’m the only person having this awful issue. Sigh.

    It might be worth noting the site only works at http://megannicoledesigns.com/blog. The blog shows up there (obviously), but I can’t click on any navigation to any part of the site (shows white). /blog only works.

    What more information does anyone need for this to get working again?

    Moderator James Huff

    (@macmanx)

    It’s possible that a step was missed. I’ve done that myself once or twice. 🙂

    I recommend starting over at http://megannicoledesigns.com/blog

    To do that, you’ll need to change the settings URLs back, then upload a fresh index.php file from a fresh download at https://ww.wp.xz.cn/download/

    Once done, follow this guide specifically: https://codex.ww.wp.xz.cn/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install

    Thread Starter megannicole

    (@megannicole)

    James,

    I found the issue was saving the modified index.php in the root directory using the built in text editor on a Mac OSX 10.1 (TextEdit). The error that is seen in the error log is:

    [18-Mar-2015 19:41:44] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '0php’' (include_path='.:/usr/lib64/php:/usr/share/pear') in /***redacted***/***redacted***/public_html/index.php on line 17

    My solution was to use a different application such as TextWrangler to modify from the original index.php file. Apparently it is an issue with the UTF-8 encoding. You should be able to see the difference between the two files in a hex editor.

    Moderator James Huff

    (@macmanx)

    Ah, yes, always make sure TextEdit’s preferences are set to Plain Text and not Rich Text, or use another Plain Text editor like TextWrangler: https://codex.ww.wp.xz.cn/Editing_Files#Text_Editors

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Issue: Root directory/subdirectory reroute’ is closed to new replies.