wordpress – Data Science, Data Analytics and Machine Learning Consulting in Koblenz Germany https://www.rene-pickhardt.de Extract knowledge from your data and be ahead of your competition Tue, 17 Jul 2018 12:12:43 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.6 how to move wordpress directory: Problems with upload_path wp-content/uploads https://www.rene-pickhardt.de/how-to-move-wordpress-directory-problems-with-upload_path-wp-contentuploads/ https://www.rene-pickhardt.de/how-to-move-wordpress-directory-problems-with-upload_path-wp-contentuploads/#comments Thu, 24 Mar 2011 13:30:36 +0000 http://www.rene-pickhardt.de/?p=329 Recently I was forced to move a wordpress site to a different webserver. By moving to a new server due to different hosting policies I also had to change the physical directory in which the wordpress files were stored. Before it was something like /var/www/wordpress afterwards it became /home/domainname/www/ . So after moving the data base and moving the wordpress installation and changing the DNS entry for the domain and some minor downtime in the middle of the night I figured out that some plugins on the new server would not work.
Especially those that needed to access uploaded files did have problems.

What happened?

After some debugging I did a fulltext search on the database for %/var/www/wordpress/ and i found one entry in wp_options table having: option_name =”upload_path” option_value=”/var/www/wordpress/wp-content/uploads” so obviously on installation time wordpress is saving the path of the upload folder in its option table to the data base. Still not sure weather this is a bug or a feature but I don’t have time to further investigate. Anyone some ideas?

]]>
https://www.rene-pickhardt.de/how-to-move-wordpress-directory-problems-with-upload_path-wp-contentuploads/feed/ 4