• I keep hearing that installing WordPress on a subdirectory is better than installing it on the root itself. I’m not quite understanding why. Does it make the website faster? I keep looking around but I haven’t seen any specific data on why a subdirectory would be better. Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • It can help harden the security of the site, and keep things better organized I guess.

    Giving WordPress Its Own Directory

    Hope this helps.

    The only real reason for installing *any* CMS, including WordPress, in a sub-directory is that you want the URL to include that sub-directory. It doesn’t have any impact on performance or server resources, it won’t give any significante SEO boost and it won’t work differently.

    Maybe some eCommerce sites want the root domain for business, but if you are services company you can still use a static page for your homepage.

    Just go to > Settings > Reading, then “front page displays” > static page but just make sure you have created it first. This is what I’m doing because I want to reserve the Homepage for something else.

    It just depends on what you need it for, blogging or business? I would say for blogging use the root and for business, use a directory.

    I think this is a related question. I’m using the one-click install on Network Solutions. WP installs in htdocs/home. The site’s main page then becomes: mydomainname.com/home — I would like for it to simply be mydomain.com. I have tried, without success changing the site URL in the control panel, but it seems to also require moving and editing files, some of which are hidden. I have to believe there is a simpler way. Is there? BTW, I can remove everything and start from scratch quite easily if that is a good solution.

    Thanks.

    22studiocouk

    (@22studiocouk)

    Install in root and protect the folder with .htaccess file. You can also move your wp-config file to a folder above root.

    Thread Starter vlmanha

    (@vlmanha)

    Thank you, @catacaustic! I think that answered my question.

    Ajit Bohra

    (@ajitbohra)

    For me it helps in organising files on server.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Root vs Subdirectory Installation’ is closed to new replies.