[resolved] Better to install into root or into folder? (7 posts)

  1. garbonzo
    Posted 9 years ago #


    Security wise is it better to install to root or to a folder in root?

    Or does it not matter...


  2. weddingring
    Posted 9 years ago #

    IMO, it only matters if you would use the specific domain for other non-WP use. if your installation ison root, .htaccess would be for the whole domain, messing up the folders and error 404 pages etc. on the other hand, if it is installed on a /folder .htaccess would only cover the specific /folder.


  3. garbonzo
    Posted 9 years ago #

    Okay, thanks weddingring

  4. I personally prefer to have the WordPress files in a folder, but have it operate in my root. This makes my root directory cleaner and easier to manage. Sure, that can cause some issues with .htaccess rules if you have any virtual directories (WordPress first checks to see if the requested URL is that of a real folder, and if it not, then it handles the URL itself), but not too many people do, and those who do can easily fix it.

    Details: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory


    My blog -> http://www.viper007bond.com/
    My WP files -> http://www.viper007bond.com/wordpress/

  5. Samuel B
    Posted 9 years ago #

    Very tight sight, Viper007Bond.
    I'm jealous your weather icon is better than mine, too. :>)

  6. Hehe, it'll be bundled with the upcoming version 3. ;)

  7. weddingring
    Posted 9 years ago #

    no problem garbonzo

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.