I had my word press in /var/www/wordpress. But I could not get uploads like photos to work. I guess it just will not let the web server wright in /var/www.
I seen could install WordPress with apt-get install wordpress command that's what I did and copied the wp-config to it and edit the data base were the apt-get installed it at /usr/share
I think maybe I was using 2.2.3 so when I 1st go in it it says it needs to update the data base. But then it don't have any Categories and will just say Uncategorized under them now.
I get a data base error with the photos plugin it says "WordPress database error: [Table 'WordPress.wp2_wppa_albums' doesn't exist]
SELECT * FROM wp2_wppa_albums"
Maybe the update data base deleted it? I still have a backup of the data base but if I restore it I have to edit the links so I can just go in manage else page can't be displayed.
What is the right way to move from /var/www/wordpress to /usr/share/wordpress ?