Mixed content in stylesheet after migrating to a new domain.

This topic has 9 replies, 2 voices, and was last updated 3 years, 7 months ago ago by Olga Barlow

  • Avatar: Barkito
    Barkito
    Participant
    April 9, 2021 at 13:49

    Although i have mixed content in other areas too. My main problem is the stylesheet ,for some reason stylesheet makes an http request while using the new url.
    new url is modaclick.gr
    old url is bumblebee.gr
    When i saw the page from the ip its mostly ok (only logo images missing i think i can fix it easily).
    But when i saw the page from the new domain style (and fonts) missing

    But when i connect throught domain i got errors.

    All my infos are in private area if you want you can check the problem yourself and see if we can fix it ! 🙂

    Please, contact administrator
    for this information.
    8 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 9, 2021 at 14:15

    Hello,

    As I can see you hardcoded http in wp-config.php https://prnt.sc/1187t95 https://prnt.sc/1187oqk
    That’s why custom styles file generated in the XStore > File generator has the wrong path. I removed file https://prnt.sc/1187prg
    Generate it again only once you fix the protocol in the WordPress settings.

    Regards

    Avatar: Barkito
    Barkito
    Participant
    April 9, 2021 at 14:46

    Hey I am just connected to my site and it looks like the error disappear ..although you told me to fix my ssl …Is there something you done after this message to fix it?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 9, 2021 at 14:51

    Hello,

    I thought that issue was related to SSL but found that it’s related to wp-config.php https://prnt.sc/1187t95 https://prnt.sc/1187oqk
    I installed Really simple SSL plugin to temporary solve the mixed content but you need to fix the code in the wp-config.php file or remove it. Why did you add that if you want to use https?

    Regards

    Avatar: Barkito
    Barkito
    Participant
    April 9, 2021 at 15:11

    I haven’t touch this code at all. So what I must do now to fix the problem ?Is ssl problem or something else ?

    Avatar: Barkito
    Barkito
    Participant
    April 9, 2021 at 15:15

    Maybe a plugin done that .In the previous domain I used cloudfront flexible ssl plugin .Maybe that plugin do those changes but I am not sure at all.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 9, 2021 at 20:33

    Hello,

    Edit your wp-config file and remove the mentioned code.

    Regards

    Avatar: Barkito
    Barkito
    Participant
    April 10, 2021 at 10:29

    I have to hardcore the second argument of define to https or fully remove those defines ?
    Thanks a lot .

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 10, 2021 at 13:10

    Hello,

    I’m not sure why you added that because default wp-config does not require that code, so you may try to remove it. If you face any other issue then put it back and just change the protocol.

    Regards

  • Viewing 9 results - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.