Support » Networking WordPress » 404 problem on new multisite install

  • This is a basic problem that seems to be fixed with .htaccess. However, I have a more secure setting by having my wordpress installed in a subfolder. I am guessing that this is creating a problem with my .htaccess and I am wondering how I can fix this problem. If I have wp installed in a subfolder, what would I need to change to make my .htaccess accurately utilize multi sites. Thank you very much for your help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    If I have wp installed in a subfolder, what would I need to change to make my .htaccess accurately utilize multi sites

    You can have WP installed in a subfolder (though FWIW there’s nothing to do with ‘security’ in that setup).

    What do you want your URLs to be? http://domain.com or http://domain.com/folder?

    Thank you for helping me out, Ipstenu. I have read a lot of info trying to figure this out and you are the most consistent problem solver :-). I want my URL’s to be http://domain.com

    I’m not sure if I’m understanding your problem correctly so please correct me if I’m wrong. It sounds like you have the following configuration:

    Main site located at http://domain.com
    Secondary site at http://domain.com/folder
    Tertiary…
    multiple…..

    Am I correct to assume that you’re having an issue installing WordPress on the secondary site when you have WordPress installed on your main site? Are you getting a 404 not found when your secondary site redirects you to http://domain.com/folder/wp-admin/install.php or did you already pass all of that part?

    If passed, IGNORE THE REST and please clarify my confusion if you would like me to help you. Email [Redacted]

    If you are having that issue, here’s a suggestion on what you can try, which worked for me. In your root directory, you will see your .htaccess file. In that file, near the top, look for this:

    ‘<files install.php>
    Order allow,deny
    Deny from all
    </files>’

    For now, change the Deny to Allow. This will allow you to install WordPress on the secondary/tertiary, etc. After it’s installed, it is crucial that you change it back to Deny. You can then browse your multiple WordPress instances.

    Moderator Andrew Nevins

    (@anevins)

    @sothychan, Please do not ask people to email you. If they need that level of support, they can hire someone.

    Woops. Sorry @andrew. Thanks for letting me know.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    Sorry, I’ve be REALLY swamped lately :/

    I want my URL’s to be http://domain.com

    Okay, so you really need to do this BEFORE you activate Multisite, but these directions work: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install

    Get that working, then start multisite.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘404 problem on new multisite install’ is closed to new replies.