• Hi guys, I have a question regarding constants for the WP.

    I found that we can set the following Constants for wp-content folder and wp-plugins folder

    WP_CONTENT_DIR, WP_CONTENT_URL, WP_PLUGIN_DIR and WP_PLUGIN_URL

    So how do we set the WP_ADMIN_DIR, WP_INCLUDES_DIR and virtual routes with wordpress core? If we can do it we can serve websites with one core base and multiple websites under single core base.

    Any comments on this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter vishdrck

    (@vishdrck)

    Thanks @petercol for prompt answer.

    I noticed that some of root files like wp-load.php directly reads the wp-includes files and wp-admin files. So what will happen to them even though I defined the constants?

    Actually I’m doing some experiments regarding the multiple site behavior and trying to implement lite architecture using wordpress.

    Hello dear vishdrck

    I am also looking for a similar solution. I want to have one common “wp-admin” & “wp-includes” (probably out of public web root) for about 10 separate WordPress websites.

    Have you had any progress on this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can we define wp-admin and wp-includes path individually?’ is closed to new replies.