[Resolved] redirect of pages is not working to https

Home Forums Support [Resolved] redirect of pages is not working to https

Home Forums Support redirect of pages is not working to https

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #479709
    Johan

    Hallo Tom,

    I don’t know if this is a GP item. My problem is that my pages are not redirecting to https if somebody links to http. Within the https site everything works great and the htacess works as well for the index page but not for all other pages. It looks like there is http interference on the pages and he is not opening the pages on https if somebody links or paste the http url.
    after rightclicking and ‘inspect” I found oud that i’am having errors. I deactivated all plugins and only left GP premium. Still the same error I copied one of the 3 error lines as an example

    Access to Font at ‘https://xxxxxxxxxxxxxxxxxxx.com/wp-content/plugins/menu-icons/vendor/kucrut/icon-picker/css/types/fontawesome-webfont.ttf?v=4.7.0’ from origin ‘http://xxxxxxxxxxxxxxxxxxx.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://www.campingchantegril.com’ is therefore not allowed access.

    Can you help me out since I’am looking for hours to solbe this problem

    #479939
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You need to set up a 301 redirect on your server so every request to http is redirected to https.

    You can alternatively use a plugin like this which does it for you: https://en-ca.wordpress.org/plugins/really-simple-ssl/

    Let me know ๐Ÿ™‚

    #480274
    Johan

    Tom
    Thanks I finally used your advised plugin with succes and removed my htaccess rules.
    Before I tried several versions to redirect everything in htaccess but ut didn’t worked in combination with the custum permalinks plugin. Without the plugin activated no problem but then offcourse all my permalinks would change and I didn’t want that.
    The plugin showed me in the short report a mixed content fix. ( the messages of calling a certain font with no acces (cors) were gone).

    Ok solved and thanks

    Johan

    #480627
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.