Hi there peeps,
I’ve seen this type of issue here and there on the forums but none seem to have quite nailed the solution for me. I’ve had a play around trying to fix it but I think it’d be more constructive getting down to specifics on here and posting up a detailed solution.
I installed WordPress in to a subdirectory (/site) on the server root (public_html). Here I developed and got the site running nice and smoothly before following the instructions here: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
So changed the settings:
Copied the index.php and .htaccess from /site over to the root, opened index.php (in root) and changed the line:
Everything seems to be working fine except when I attempt to upload images WordPress fails to generate the file sizes. If I look in the uploads folder the image is nowhere to be seen. I’ve checked that the uploads folder has recursive permissions set to 777.
It seems as though others have had this problem:
This answer is correct – all of my images etc. are referencing http://mysite.com/site. However there doesn’t seem to be a solution?
Any help would be massively appreciated. I’m a bit of a newb so I’ll try to answer an queries as best I can.
Thanks in advance 🙂
- The topic ‘Setup WordPress in a subdirectory within root. Images not uploading correctly.’ is closed to new replies.