WordPress.org

Ready to get started?Download WordPress

Forums

404 problem on new multisite install (7 posts)

  1. ffs_luke
    Member
    Posted 1 year ago #

    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.

  2. 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?

  3. ffs_luke
    Member
    Posted 1 year ago #

    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

  4. sothychan
    Member
    Posted 1 year ago #

    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.

  5. Andrew
    Forum Moderator
    Posted 1 year ago #

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

  6. sothychan
    Member
    Posted 1 year ago #

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

  7. 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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags