• Resolved ginmonty

    (@ginmonty)


    I copied a website to a subdomain and it appears I copied everything over successfully, but in the new site, when I’m logged in and making edits in my block editor, it looks great and looks like the old site, but when I’m looking at the live site, it looks totally different, the styles are not the same.

    I can make new changes and save them and they will show on the front end, but, I really don’t want to have to manually re-make edits because I see them in the block editor and have no idea why they aren’t showing on the actual site.

    I have no idea how this happened since I copied all files and the database from the old site that doesn’t have this issue. I know this isn’t a caching issue, I have purged the cache several times and tried different browsers. I have deactivated my plugins and the issue still persists. I have switched to a different theme and the issue is still there. Any ideas on how to fix?

Viewing 4 replies - 1 through 4 (of 4 total)
  • It seems like you’re having a Mixed Content issue. To fix the issue, please follow the detailed guidelines here: https://www.wpbeginner.com/plugins/how-to-fix-the-mixed-content-error-in-wordpress-step-by-step/.

    Give it a try, and let me know how that goes! ??

    Thread Starter ginmonty

    (@ginmonty)

    Thanks for the reply! Unfortunately that didn’t work.

    Try this:

    Note: Please make a backup your database before to do anythings.

    Export your database to your PC, using text editor Nopepad ++ or similar App. Store your database and make a copy to try as below:

    Open your database with Notepad ++ and search whit your-old-domain.

    If you see your-old-domain is remaind in your subsite database, try to replace all them and save it (as sql extention).

    for example https://your-old-domain.com

    repale with https://your-sub-domain.com

    Then try re-import database, to do this, drop all table and import databese you just replace above.

    Thread Starter ginmonty

    (@ginmonty)

    Thank you for the suggestion! I think that would have worked and led tme to what the issue was. But, first I discovered the issue, posting the resolution here in case someone else also forgets to doublecheck their database (*facepalm*):

    Somehow I had a second WordPress install nested under my first (this was an older site I was migrating and trying to update) so I was changing the wrong options table in my database. Once I changed the correct ones, the site worked and looked as expected.

    • This reply was modified 1 year, 5 months ago by ginmonty.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Front End Not Matching Back End After Copy’ is closed to new replies.