Viewing 15 replies - 46 through 60 (of 241 total)
  • Thread Starter Tremayne

    (@tremayne)

    Yes, on all counts. And the ,htaccess in the subdirectory is as you show above.

    Thread Starter Tremayne

    (@tremayne)

    plugins directory is disabled too (in case that’s important)

    Right now I’m not worried about that. Things are not going to work right until we are finished.

    Do you have an index.php file in the public_html directory?

    Also, are you using ftp or cPanel to make the changes and move files?

    Thread Starter Tremayne

    (@tremayne)

    Ftp, and no root index.php

    (plugin’s are intentionally disabled, and unimportant to me too)

    Okay, you need to “copy” the index.php file from the wordpress directory into the public_html directory. You need to open up the index.php file and make the following change.

    Where it says
    require( dirname( __FILE__ ) . '/wp-blog-header.php' );

    Change it to
    require('./wordpress/wp-blog-header.php');

    For clarification. The index.php file that needs to be edited is the one you should now have in the public_html directory. Not the original in the wordpress directory.

    I didn’t make that distinction. Sorry.

    Thread Starter Tremayne

    (@tremayne)

    I understood, the one in my current sub/wordpress

    says

    require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );

    is the ‘ after the . significant, I notice yours is the other way around.

    should I change it to reflect yours in the sub-dir as well?

    The root directory file is requiring a file from a different directory, so it will look different.

    No, the subdirectory file stays as it is. It doesn’t get edited.

    Thread Starter Tremayne

    (@tremayne)

    done . what changed is the root url is now white instead of forbidden (progress) and the subdirectory url works as before

    Can you log into the site?

    Thread Starter Tremayne

    (@tremayne)

    sure can, and it works from the root/wp-admin as well as root/wordpress/wp-admin

    (edit) and teh visit your site tab from the dashboard is working / pointing correctly too…this is good stuff.

    How many sites do you have in the network? (this is for my information right now).

    Thread Starter Tremayne

    (@tremayne)

    2, and the other is a dead previous installation (not needed) I really don;t know how I ended up WPMU for a single site install. ?? too late now.

    they can rev sites by year I suppose, prior is called “2012”

    lol.. yeah, we could change it but I don’t think you want to do that on your first project. And I’m not sure I want to walk through it in the forums. lol

    It’s not going to hurt anything to leave it multisite. In fact, if for some reason expansion is needed in the future, it’s already there.

    Okay, let’s go to the database.
    First stop will be the “wp_blogs” table.

    What you are looking for is the “Path” column.
    Right now, it should show for the home site “/wordpress/”

    Change it to /

    And if you still have the subsite, remove the /wordpress if it is there.

    Thread Starter Tremayne

    (@tremayne)

    okay, when I click the wp_blog and look at the browse tab I see two entries.

    the top entry says blog id 1, site id 1, and the path is /2012 (assuming that’s the old one)

    the second entry, blog 2, site id 1 and the path is /

    am I looking at it right? I know how to edit it, but is it the site / blog Id?

Viewing 15 replies - 46 through 60 (of 241 total)
  • The topic ‘wp-admin link suddenly stopped working’ is closed to new replies.