WordPress.org

Ready to get started?Download WordPress

Forums

Media Problem after replacing old site within existing Server (17 posts)

  1. HIMRB
    Member
    Posted 1 year ago #

    I would appreciate some help with Media on my new site which has just gone live.
    I created the site from a purchased Theme and over the last month have been updating text and pictures. Fantastic as this is my first site.
    The new site was on my existing ISP's Server in a folder as 'newsite' with the url: http://www.idcardservices.co.uk/newsite
    I asked my ISP how to remove the old site and install the new site, instructions as follows.
    On the day of moving, via FTP in public_html, I created a new folder 'oldsite'. and put all the old site into the folder.
    Once done I opened my 'new site' folder and put all the contents into public_html
    In General settings I changed WordPress Address (URL) & Site Address by removing 'newsite'
    Everything seems to work well and I have tested it in all the Browsers, pages are there, sliders work email form works, images are present etc.

    But, in my Media folder in wp-admin most of the pictures listed are unattached.
    When I upload a new picture it seems to upload the image but cannot be viewed and I get a broken link box on the actual web page.
    I now know that there was a better way of moving the WP site but did not see that at the time.

    This is my first site and I have very little technical knowledge and reading the WP support forum has only confused me more.
    I don't want to lose the images I have on the site already but need to upload many more and cannot do it.
    Thanks
    MrB

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    change the urls back. See Changing_The_Site_URL. Then see Giving_WordPress_Its_Own_Directory.

  3. HIMRB
    Member
    Posted 1 year ago #

    Hi esmi,
    Thank you for taking the time to respond but unfortunately I do not understand about changing the urls back. Do you mean back to http://www.idcardservices.co.uk/newsite.
    I have followed both the links but cannot find the answer or do not understand the answer.
    Regards,
    MrB

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    Do you mean back to http://www.idcardservices.co.uk/newsite.

    Yes.

  5. HIMRB
    Member
    Posted 1 year ago #

    Hi esmi,
    I have changed both back in Setting-General, WP address & Site address to http://www.idcardservices.co.uk/newsite
    Now the site is a mess and I can no longer login using wp-admin in the url with or without 'newsite'.
    Did I miss something here ?
    regards
    Paul

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    Where exactly are the WordPress core files & folders?

  7. HIMRB
    Member
    Posted 1 year ago #

    Hi esmi,
    I far as I am aware I moved them from the folder 'newsite' I created whilst getting the site ready on the server and into 'public_html' on the server, re my first post above
    Please remember I am very new to WP
    regards.
    MrB

  8. esmi
    Forum Moderator
    Posted 1 year ago #

    Put everything back in the folder 'newsite.

  9. HIMRB
    Member
    Posted 1 year ago #

    Hi esmi,
    Something has gone very wrong and I am backing up everything on the server to see if I can salvage anything. 303.7MB
    All I needed to do was somehow reconnect the Media file so I could update and install new images but I do not think that can happen now, it looks a right mess.
    Regards,
    MrB

  10. HIMRB
    Member
    Posted 1 year ago #

    Just to follow up,
    I used my cpanel with my ISP to roll everything back and restore from the point 2 days ago. I have also created a full backup of my 'newsite' through WP.
    I now have 'the newsite' live again but I do not have the ability to upload any new images to it as per my original post.
    I have read again Changing_The_Site_URL & Giving_WordPress_Its_Own_Directory but I do not understand what I have done wrong. Where are the images that I upload going to, can I not create or link to the Media folder without taking the whole site down.

  11. esmi
    Forum Moderator
    Posted 1 year ago #

    I do not have the ability to upload any new images

    what happens when you upload an image?

  12. HIMRB
    Member
    Posted 1 year ago #

    Hi esmi,
    I now have 'my old' site back up and the 'newsite' back in the folder on the Server at my ISP. They rolled everything back to Monday this week including mysql database.
    I now need to find out now how to replace my old idcardservices.co.uk with 'newsite'.
    I understand there is an automated way of doing this.
    The previous instructions I had was to pack the old site into a folder on the server and then put everything from 'newsite' in its place. I also changed the WP address and the site address in settings general to idcardservices.co.uk and this worked fine the 'newsite' was up and running.
    The problem was when I went to add new pictures to a page as I had done previously all I got was the very small box with an x on the web page to show there was no image and in the Media folder there was no thumbnails of any images even those showing up on the pages. I tried this over 20 times but the images never appeared, I checked the link to the images and they seemed to be there, but I do not know what the link should have been.
    As I said previously, I am very new to WP and find many of the instructions somewhat baffling to understand.
    Regards,
    MrB

  13. esmi
    Forum Moderator
    Posted 1 year ago #

    OK- can you clarify:
    -the location of the WordPress core files
    - the urls entered in Settings -> General
    - the url you want to use for this site

  14. HIMRB
    Member
    Posted 1 year ago #

    Good morning esmi,

    The files for the new site are here.
    idcardservices.co.uk FTP
    public_html
    (Folder) newsite

    The current urls entered into Settings-general:
    http://idcardservices.co.uk/newsite

    The url I want to use for this site:
    http://idcardservices.co.uk/

    Regards,
    Paul

  15. esmi
    Forum Moderator
    Posted 1 year ago #

  16. HIMRB
    Member
    Posted 1 year ago #

    Hi esmi,
    Unfortunately due to my work here at the moment I am not able to try this until tomorrow.
    regards,
    Paul

  17. roseguang
    Member
    Posted 1 year ago #

    Yes, I tried that too. I just re-downloaded a fresh one. But I can't sign in to my admin panel to try it...It just loads a blank page. [ sig removed ]

Topic Closed

This topic has been closed to new replies.

About this Topic