Opened 7 years ago
Closed 9 months ago
#37101 closed enhancement (invalid)
Linux symbolic link support for wordpress [GITHUB PULL REQUEST #219]
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.5.2 |
Component: | Administration | Keywords: | reporter-feedback |
Focuses: | multisite | Cc: |
Description
I was searching for a solution to allow symbolic links in wordpress core files/folders
The only resource I found was this article
http://www.htmlgraphic.com/symlinking-wordpress-core-files-wordpress-skeleton/
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)
define( 'AUTOMATIC_UPDATER_DISABLED', true );`
Change History (3)
This ticket was mentioned in Slack in #core by peterwilsoncc. View the logs.
2 years ago
Note: See
TracTickets for help on using
tickets.
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?