I know there are security issues with symlinks but this is for development purposes on my local machine only.
I am trying to set up my wordpress development server. My workflow results in a ‘build’ directory with the wordpress theme and I want to symlink that directory to my wordpress installation (which uses a non-standard port).
ln -s ~/code/Dropbox/HTML/af2015/build/ /home/[...]/public_html/[...]/wp-content/themes/af2015
lrwxrwxrwx 1 [..] [..] 42 Apr 4 09:43 af2015 -> /home/[..]/code/Dropbox/HTML/af2015/build
I’ve read all the instructions and added the FollowSymLinks
command (see below), but WordPress still cannot see my theme. Can anyone help?
<VirtualHost *:61112>
ServerAdmin webmaster@amsterdamfoodie.nl
DocumentRoot /home/simon/public_html
<Directory /home/simon/public_html>
Options Indexes FollowSymLinks
AllowOverride None
# Order allow,deny
# allow from all
Require all granted
</Directory>
</VirtualHost>
Listen 61112