Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1394804

    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in! Glad you were able to figure it out to resolve the issue. Regarding the gallery, could you please send us the url of the page with the gallery in it so that we can take a closer look?

    Thank you in advance.

    #1395555

    oga23
    Participant

    Hi!
    Yes, i am glad too! the woo image gallery isn’t a priority right now s i had to speed things up to publish…but i do have another problem – all the icons in sidebars, footer and widgets are gone? only the title is left. that is strange and i would really like them back and add some new where they are missing…can we do that,please?

    #1395785

    Rad
    Moderator

    Hi there,

    It’s because of this

    Access to Font at 'https://beta.mojzastopnik.si/wp-content/themes/x/framework/fonts/font_awesome/fontawesome-webfont.woff2?v=4.6.3' from origin 'http://beta.mojzastopnik.si' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://beta.mojzastopnik.si' is therefore not allowed access.

    You’re mixing both HTTPS and HTTP and resource sharing isn’t allowed between two different protocol. Other pages load in HTTPS URL format, but your Woocoomerce isn’t. This is weird, Woocommerce pages are the one supposed to be secured. Please try setting your URL to HTTPS, globally.

    Thanks!

    #1396146

    oga23
    Participant

    I just switched to https. How do i change that globally?
    the strange thing is also, all my woocommerce pages are in https…so i don’t know what else could i change in woocommerce…

    #1397166

    Lely
    Moderator

    Hi There,

    Upon checking, yes your site is in HTTPS already. But then we can still access it via HTTP which is the issue. We need to redirect all HTTP traffic to HTTPS. Try to install the plugin WP Force SSL (https://wordpress.org/plugins/wp-force-ssl/).

    Hope this helps.

    #1397842

    oga23
    Participant

    Thanks. Is there a way to do it with htaccess? Because i am full of plugins on the site and would rather avoid them if not necessary.

    #1398590

    Lely
    Moderator

    Hi There,

    Please check this link for guidance:https://www.thepolyglotdeveloper.com/2014/12/force-https-pages-wordpress-site/

    Hope this helps.

    #1399278

    oga23
    Participant

    Hi, Lely!
    Sadly, it doesn’t. Something is really messed up and i would really appreciate if you’d help to sort it out.
    I just discovered the buudypress sidebar is of too…one of the widget titles is too high and interfiers with the widget above. See screenshot, please.
    Also some of the icon’s colors are off too-but only on chrome on my laptop. They are fine on my ipad.
    There has to by a way,right?
    Today i transfered the subdomain to the main domain – https://mojzastopnik.si which means the site is life! So i really need to fix this somehow. Please help.

    Thanks

    #1399807

    Rad
    Moderator

    Hi there,

    Htaccess will only redirect it, it’s best to fix it directly. Please note that sharing resources between HTTP and HTTPS is not allowed, and if you configured it through htaccess, the URLs are basically still HTTP, and it will only redirect to HTTPS when the browser requested or loaded. Browser checks the security through upon page load and not after it’s redirected.

    How about cloning back your site to staging and fix HTTPS there, it’s more appropriate since URL configuration could break your site. Please let me know the login credentials on your staging site and I’ll try correcting the URLs. Then if there is no problem, you can move that staging site back to live site again.

    Thanks!

    #1400227

    oga23
    Participant

    Hi,
    about the cloning back – i’ll talk to my hosting provider about it and let you know what they said. or maybe you can tell me how to clone back? if i knew hot to do it maybe i could then clone it back to staging by myself? should i use all in one wp migration?
    Please explain redirecting in .htaccess and sharing resources. I don’t think i am sharing resources as i changed http to https in wp-admin under settings -> general. is there anything else i should do?

    thanks!

    #1400292

    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in!

    I would recommend that you create a staging site. This is very useful because you can test drive any X updates in the staging area, do the customizations and troubleshooting without disrupting your live site. Once everything is perfect, you can easily and flawlessly proceed the update in the live site. To know how to create a staging area, please check out these articles:
    http://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/
    https://maintainn.com/2015/02/how-to-create-a-staging-site-for-wordpress/

    Even if you change the http to https in the settings > general, those images inserted in the post and other resources might still be using http. The best you can do is to use a 3rd party plugin, search and replace. You can do a search for http://example.com and replace it with https://example.com

    Hope this helps.

    #1400459

    oga23
    Participant
    This reply has been marked as private.
    #1401117

    Rad
    Moderator

    Hi there,

    HTTPS URLs are okay now, now it’s safe to add redirects in htaccess. It’s not font file redirect but base URL redirect. Please add this to your site’s htaccess

    RewriteCond %{HTTPS} !=on
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    after these two lines

    RewriteEngine On
    RewriteBase /

    Thanks!

    #1401168

    oga23
    Participant
    This reply has been marked as private.
    #1401195

    oga23
    Participant
    This reply has been marked as private.