Public Wordpress site and local file upload - Raspberry Pi Forums
hi,
i'm new linux/rpi , wordpress, able run wordpress website on pi, , available on www. stored on pi in local network.
problem want insert picture change on time post. picture stored on rpi in /home/pi/scripts/cputemp.png
in local, able using upload media url in wordpress, using http://localhost/home/pi/scripts/cputemp.png.
when make site on www, doesn't work anymore, if change url http://domain/home/pi/scripts/cputemp.png.
have idea how please?
thanks,
aloysetech
i'm new linux/rpi , wordpress, able run wordpress website on pi, , available on www. stored on pi in local network.
problem want insert picture change on time post. picture stored on rpi in /home/pi/scripts/cputemp.png
in local, able using upload media url in wordpress, using http://localhost/home/pi/scripts/cputemp.png.
when make site on www, doesn't work anymore, if change url http://domain/home/pi/scripts/cputemp.png.
have idea how please?
thanks,
aloysetech
hello aloysetech,
file have exist in particular location or can moved within document root of web server? can image moved /var/www/ ? in terms of 'www' call it, apache serving web pages directory.
file have exist in particular location or can moved within document root of web server? can image moved /var/www/ ? in terms of 'www' call it, apache serving web pages directory.
raspberrypi
Comments
Post a Comment