Support » Fixing WordPress » Install WordPress for local development

  • mrling

    (@mrling)


    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:
    “/public_html/wordpress/”
    …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:
    “/wamp/www/mysite1/wordpress/”
    … 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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    Not familiar with WAMP, but try using “virtual hosts” if you want to use WAMP for multiple sites.
    Here are some tutorials for this:
    http://www.trailheadinteractive.com/creating_multiple_virtual_sites_a_single_apache_install_windows_xp

    Multiple virtual hosts in WAMP

    esmi

    (@esmi)

    Forum Moderator

    “/wamp/www/mysite1” should work just fine.

    mrling

    (@mrling)

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

    esmi

    (@esmi)

    Forum Moderator

    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.

    mrling

    (@mrling)

    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?

    esmi

    (@esmi)

    Forum Moderator

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Install WordPress for local development’ is closed to new replies.