0

I'm trying to deploy my updated website. But when I move my files over, my website is no longer in "Secured" due to mixed content.

The mixed content is the website trying to call images from my development server

instead of saying: https://www.website.com/image1

It brings up /IP ADDRESS of dev server/image1

Since my dev server is not for the public, it does not have SSL on it. But I'm not sure why its bringing up files from my development server now that i'm on the production server.

Any suggestions?

1 Answer 1

0

There is a good chance you have either:

  1. Not updated your base URL correctly
  2. Hard coded Dev URLs

If using Chrome, use an Inspect Element to identify references to your Dev URL and then double check the source code to ensure it isn't hard-coded.

If you have access to phpMyAdmin (or similar), do a database search for your old URL.

Oh, and as usual, make sure you clear your /var/cache folder cause the number one pain of my life has always been caching in Magento.

Hope this helps in some way.

2
  • This resolved my issue. I forgot I did hard code the absolute URL's for my development server in my theme's CSS file. I changed it to be the relative URL (/skin/frontend vs website/skin/frontend). Now works on both Staging and production server with no issues
    – Dequan W
    Commented Aug 26, 2016 at 2:00
  • Yeah, I've done it before :) Glad I could help
    – Craig
    Commented Aug 26, 2016 at 14:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.