[resolved] WordPress Installation in Subdirectory (8 posts)

  1. adorecarol
    Posted 4 years ago #

    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

  2. manoj skynet
    Posted 4 years ago #

    have you uploaded wordpress installation files in that folder (i.e. shop)??

  3. Johnb81
    Posted 4 years ago #

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

  4. I Dont use this account Anymore why is it still here
    Posted 4 years ago #


    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.

  5. dehsnowman2
    Posted 4 years ago #

    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

  6. I Dont use this account Anymore why is it still here
    Posted 4 years ago #

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

  7. dehsnowman2
    Posted 4 years ago #

    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?

  8. adorecarol
    Posted 4 years ago #

    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! :D

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

Topic Closed

This topic has been closed to new replies.

About this Topic