Support » Fixing WordPress » Giving wordpress it´s own directory – good or bad?

  • Hello,

    for all my sites, I have been following the instructions posted on this wordpress codex: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory.

    which says:

    [quote]Many people want WordPress to power their site’s root (e.g. http://example.com) but they don’t want all of the WordPress files cluttering up their root directory. WordPress allows you to install it into a subdirectory, but have your blog exist in the site root.[/quote]

    I didn´t want the wp folders and files to clutter up my root since I have other projects in there. So I’ve been following these instructions. It all seemed to be working fine.

    However, I´ve been troubleshooting a theme-related problem on another forum, and when I explained my file structure, several people suggested that I shouldn’t be setting it up that way and that it would cause problems.

    Also, my hosting provider said that having two .htaccess files slows up the site since it has to run twice.

    S,o it is okay to put the wp files in it´s own directory, and copy the index.php and .htaccess files into the root, pointing to the subfolder?

    I really prefer the usage as I have it, but if it´s problematic, then I will try to change it. Any clarification would be helpful.

Viewing 1 replies (of 1 total)
  • esmi

    (@esmi)

    Forum Moderator

    S,o it is okay to put the wp files in it´s own directory, and copy the index.php and .htaccess files into the root, pointing to the subfolder?

    Yes – it’s perfectly fine.

Viewing 1 replies (of 1 total)
  • The topic ‘Giving wordpress it´s own directory – good or bad?’ is closed to new replies.