Make WordPress Core

Opened 6 years ago

Last modified 10 months ago

#37101 new enhancement

Linux symbolic link support for wordpress [GITHUB PULL REQUEST #219]

Reported by: ole1986 Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.5.2
Component: Administration Keywords: reporter-feedback
Focuses: multisite Cc:


I was searching for a solution to allow symbolic links in wordpress core files/folders
The only resource I found was this article


which is not satisfying at all IMO

So, I came up with this pull request which slightly changes the core files
To achive the symbolic links with linux you can do the following

# create a new wordpress instance and change directory
mkdir wordpress-symlink && cd wordpress-symlink
# Copy the wp-content folder from global storage where "latest" version of wordpress is located
cp -R /var/lib/wordpress/wp-content ./
# create symlinks for all other files/folders into current folder (wordpress-symlink)
ln -s /var/lib/wordpress/* ./

Of course an important setting is to disable automatic updates in wp-config.php (once created)


PingBack: https://github.com/WordPress/WordPress/pull/219

Change History (2)

This ticket was mentioned in Slack in #core by peterwilsoncc. View the logs.

10 months ago

#2 @peterwilsoncc
10 months ago

  • Keywords reporter-feedback added

This was discussed in a triage session today, I'm sorry for the late reply.

Are you able to clarify what you'd like to symlink, there have been discussion in the past about symlinked plugins (see #22802 for example) but I think you are referring to something else.

As a bit of time has passed, is this still something you'd like to see?

Note: See TracTickets for help on using tickets.