• Resolved adorecarol

    (@adorecarol)


    I know this must have been asked a lot, and thank you so much for taking your time in answering this. :]

    I have WordPress installed in the root folder of my domain.
    Now I want to install another one into a subdirectory labeled shop that I will later redirect to shop.mywesite.com.

    I’ve set everything up, but when I try to access the install.php, there’s a 404 Error.

    How do I fix this?

    Thank you.
    – Carol

Viewing 7 replies - 1 through 7 (of 7 total)
  • have you uploaded wordpress installation files in that folder (i.e. shop)??

    You should upload the new installation of WordPress to the root of the domain shop.mywebsite.com.

    http://codex.wordpress.org/Installing_Multiple_Blogs

    Remember that for two WordPress installations, you need two seperate databases for each installation. Check with your host before doing this to ensure you are allowed more than one database.

    So i am wondering the same dumb question. I have two sub directories, I am trying to start from scratch…

    I have two databases, and two usernames, I have re uploaded everything from scratch including the config.php. but am getting “Error establishing a database connection”… I am still using “localhost” if this makes a difference.

    My host is through Godaddy

    @dehsnowman2 its a good idea to start your own thread, but you normally get that error message when your wp-config.php has the wrong settings in there.

    I figured I would save space ha..

    Well i have changed these 4 items, and have made sure they’re correct. (caps and all)

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘********’);

    /** MySQL database username */
    define(‘DB_USER’, ‘*********’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘********’);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);

    I also generated the Unique Keys and Salts.. notice anything wrong?

    Thread Starter adorecarol

    (@adorecarol)

    I finally figured it out.
    I’ve installed everything correctly and renamed the “wp_” for the database so that there wouldn’t be a problem.
    I was reading instructions from a very old post and decided point the subdomain shop.mywebsite.com into the /shop folder even though they said not to and it worked perfectly fine.

    I also changed the website url and blog url into shop.mywebsite.com and there hasn’t been any problems.

    Thanks guys! 😀

    There wouldn’t be any future problems setting it up this way, right?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WordPress Installation in Subdirectory’ is closed to new replies.