• Hello! I hope everyone’s doing well!

    My WP site is installed in my root directory in the /public_html folder.

    I saw that moving it into a subdirectory is very simple as per this article (Method I)! 😊 And I would like to do so since the WP files tend to clutter things up quite a lot.

    My question is the following: If I have other folders in the /public_html (root) folder, how will I be able to access them?

    For example, if I put WP in a subdirectory such as the /public_html/wp folder, and decide to redirect my domain there (http://www.example.com will lead straight to /public_html/wp), then will I be able to access folders such as /public_html/gallery ? With what URL structure?

    Thank you!
    – Gaurav.

Viewing 1 replies (of 1 total)
  • If I have other folders in the /public_html (root) folder, how will I be able to access them?

    You would need to update the parameters in your .htaccess, or your httpd.conf file

    I would like to do so since the WP files tend to clutter things up quite a lot.

    What do you mean they clutter things up?
    You should only be concerned with the files and folders under the /wp-content/ folder.
    All other files core files that should never be touched.

    Sorry, but this is a terrible idea.
    Please do not do this unless you want to be spending your time managing errors, and troubleshooting all the time.

Viewing 1 replies (of 1 total)
  • The topic ‘Moving WP to subdir and accessing root folders’ is closed to new replies.