admin管理员组文章数量:1122832
Hi i am a new bie in wordpress.
i use load balancer for my sites. So the request can be processed by any of the 4 servers. so i moved all contents from /wp-content/uploads to the centralised server /images/myblog/wp-content/uploads and created a symbolic link to it.
Now the problem is, access to media contents results in 404 error. Can you please explain, is anything i am missing out.
Hi i am a new bie in wordpress.
i use load balancer for my sites. So the request can be processed by any of the 4 servers. so i moved all contents from /wp-content/uploads to the centralised server /images/myblog/wp-content/uploads and created a symbolic link to it.
Now the problem is, access to media contents results in 404 error. Can you please explain, is anything i am missing out.
Share Improve this question asked Aug 1, 2013 at 13:36 Nelson NadarNelson Nadar 111 silver badge2 bronze badges 3 |1 Answer
Reset to default 0You will need to ensure that your web server has symlinks enabled. For Apache2, this is Options FollowSymLinks
. For Nginx, the option is disable_symlinks off;
. If you are not using either of these, you may need to consult your servers documentation.
If you are you using a web hosting provide, you can also see if there is an option in their dashboard. If not, you may need to contact their support team to see if they can help you.
Also, make sure that your filesystem permissions are correct. You may get a permission denied error if they are wrong.
本文标签: Symbolic link for uploads in wordpress
版权声明:本文标题:Symbolic link for uploads in wordpress 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736288480a1928103.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
FollowSymlinks
option (or equivalent, if it's not Apache). You might be able to add it to your.htaccess
file, too. – Pat J Commented Aug 1, 2013 at 14:18