The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Install WordPress for local development (7 posts)

  1. mrling
    Posted 3 years ago #

    I am installing WordPress onto my computer for multiple sites using wamp and want to know if I should include the "wordpress" folder/directory, or take the files out of it and copy them directly into my site's folder (c://wamp/www/mysite/ or d://websites/mysite1/)?

    Using my FTP client to look at my remote WordPress install, I noticed the directory structure like this:
    ...with some other site files such as:
    .htaccess, error log, index.php
    ...and folders such as:
    images, css, cgi-bin, _notes
    ...located outside the wordpress folder.
    *I am confused as to why these files are outside the "wordpress" directory on my public host.

    On my PC, so far I have it structured like this:
    ... would it be better to install it like this?:
    "/wamp/www/mysite1" -->with the wordpress files taken out of the "wordpress" folder, and directly copied into the "mysite1" folder
    *The problem I see with this is if I end up needing the former directory structure (/wamp/www/mysite1/wordpress) to hold the files and folders found outside the wordpress folder on my public host.

  2. keesiemeijer
    Posted 3 years ago #

    Not familiar with WAMP, but try using "virtual hosts" if you want to use WAMP for multiple sites.
    Here are some tutorials for this:

  3. esmi
    Forum Moderator
    Posted 3 years ago #

    "/wamp/www/mysite1" should work just fine.

  4. mrling
    Posted 3 years ago #

    @keesie, thank you, but I've already read that tutorial and others until my eyes were bleeding. I actually have virtual hosts working, but am just wondering if there are any rules of setting of the directory that work best for development servers.

    @esmi, ok, so you think I shouldn't just drop the whole '/wordpress' folder in there with all the files inside it, but copy and paste all the files inside the '/wordpress' folder into '/mysite1' folder?

  5. esmi
    Forum Moderator
    Posted 3 years ago #

    I don't think it really matters but dropping the "wordpress" folder won't harm anything and gives you shorter urls. I've got about 6 local installs running on my dev server - each with site urls along the lines of http://local_address/folder_name.

  6. mrling
    Posted 3 years ago #

    I dropped the wordpress folder and installed directly into /wamp/www/mysite, and now I am getting the site but no css styling? Have any clue why this is?

  7. esmi
    Forum Moderator
    Posted 3 years ago #

    Was this a fresh install into /wamp/www/mysite with a fresh database?

Topic Closed

This topic has been closed to new replies.

About this Topic