Images upload wrong after changing WP’s directory
-
Hello.
I got a problem with image uploading. At first when I created the webpage I wasn’t sure which program I would use, so I installed WP in a directory called “wordpress” inside the public_html. So at first my WP homepage was linked to by https://name.com/wordpress
After that I decided to use WP for real, so I wanted to change it from the https://name.com/wordpress directory to just https://name.com
This worked fine, except for the pictures.. I only had 4-5 example pictures at the moment as I am still just designing some and trying to find out what plugins I want to use, so I don’t want to spend time on getting info/pictures up. So the loss of these pictures were fine, well actually they are not gone. They try to link to https://name.com/wordpress/wp-content/uploads/2008/10/p6210094.jpg but if I just remove the /wordpress from that link, I can access them. So anyways, I can just remove them and add them again, but my problem is that the new pictures I add, get the link https://name.com/wp-content/uploads/2008/10/p1010415.jpg, so actually without the /wordpress (which is what I want), but in fact the picture is loaded into the very same link BUT with /wordpress, so the link to access the picture looks like this: https://name.com/wordpress/wp-content/uploads/2008/10/p1010415.jpg
Perhaps I wrote it a bit messy.. but I hope you get the point. The trouble in short: I moved my page from name.com/wordpress to just name.com, and now the images I upload are uploaded on name.com/wordpress/picture-name (the same as before I moved the page), while in the online webpage, when I try to open the page, the link attempts to reach name.com/picture-name, and thus getting a “Error 404 Not Found” since the file is uploaded into the folder /wordpress (which I deleted after moving the webpage, but is re-created by the picture uploader).
I don’t know if anyone already asked this and got help, but I really tried to find something first, if someone already asked this and the answer is anywhere, please just give me the link.
Thanks on beforehand for any help you can provide me with.
- The topic ‘Images upload wrong after changing WP’s directory’ is closed to new replies.