Support » Installing WordPress » Directory Questions

  • “If you need to upload your files to your web server, use your favorite FTP client to upload all the contents of the wordpress directory (but not the directory itself) into the root directory of your web site.”

    This means that i SHOULD NOT upload the WordPress folder wHen i upload the files to the server. I upload only the files? Thus the wordpress files will be mixed in with my html and css files? (Seems a bit messy to me)

    Can I switch the location of the blog later? I’m experimenting with WordPress and have not purchased the domain name yet. So I’m using the one i currently have. Can i move it to another domain on the server once it is installed?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The instructions you quoted are referring to the case when you want the WP blog to be your main site.
    Since this is not the case for you, you can safely upload the whole ‘wordpress’ directory; so the location of your blog will be:
    However, if you wish to have your blog in a subfolder named ‘moshu’ – create the folder on your server AND upload only the content of the wordpress directory.
    Does this make sense?

    It all depends where you want the test blog to be. You could create a /blog and upload files there, leaving your root install alone. You could then move the blog somewhere else later, with a few adjustments to the database.

    8 seconds 🙂

    I will have to adjust the database just to move the blog?

    I’m using WordPress as a CMS. I’m a beginner of course so i guess i should install it as if it were my main site.

    Thanks guys!

    Whenever you move a blog to another address (URL), be it just another folder – you need to change 2 (two) settings in the database: your blog_url is stored there. It’s not a big deal…

    For testing and learning I’d install it in its own folder for the beginning without messing with your present site. I assume your site has an index file, and WP also has one, but to have two index files in the same (root) directory – is a very bad idea.
    Install it in a directory, learn it, get familiar with it and you can move it after that in 2 minutes!

    The adjustments are minor, and can actually be done via the admin panel if you follow the directions, it’s a matter of the domain name and URI being adjusted. It’s well documented in the codex and here in the forums.

    Thanks guys. one last question.

    Moshu said that WordPress has its own index page and having two indexes is a bad idea. Well, i’ve already uploaded the files to the same directory as my webpages. What should i do now? I have not installed WP yet.

    He said having two index files in the same directory is bad.

    You might consider using the technique discussed in the Codex article Giving_WordPress_Its_Own_Directory.

    Additional Resource:
    Moving WordPress

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Directory Questions’ is closed to new replies.