Problems after HTTPS protocol

Posted in: Newspaper
Post count: 38

I have a website that is using an old version of Newspaper (version 4.5). We recently installed an SSL certificate on the site and after it started using the HTTPS protocol some features stopped working, such as the TagDiv Gallery in the posts, the WPBakery Page Builder slide, the Ajax pagination and the search option on the main page (Home). Could you tell me what might have happened?

Post count: 9544

Did you do search/replace in your post meta to update all http links to images and whatnot to https? Update theme panel settings for logos, etc., to https? That stuff impacts moving to https a lot!

Post count: 38

Yes. I’ve used the Search Replace DB (https://interconnectit.com/products/search-and-replace-for-wordpress-databases/) and other steps to migrate. All images and links works fine. I noticed problems only in these three functionalities: 1) Visual Composer WPBakery Slide; 2) Ajax pagination; and 3) Search Link.

Post count: 9544

Did you change the images in the slider to be https vs http? You might need to recreate the slider ‘slides’ if you can’t edit them.

Also useful to add explicity https full url into the wp-config.php file — which is what I did. We did our main site to ‘https everywhere’ in 2014, then the rest (dozen or so) in 2015. So went through all the hoops then.

Not sure on pagination unless there is some caching with old “next page” embedded somehow. Search link should match site URL, so try the trick of adding explicit https paths to wp-config.php file.

Look at t he HTML for the gallery, to see if http images still be loaded.

Post count: 38

I think I’ve found more details about the problem. These three items (the TagDiv Gallery in posts, the Visual Composer WPBakery Slide, and the home search button) are being blocked by Firefox and Chrome.

>> https://ibb.co/f3DwaG

The message from Firefox is: “Firefox has blocked parts of this page that are not secure.”

Do you know which theme files I should change to try to fix this block? What can be unsecure about these items?

Post count: 38

I found some bugs by the Chrome developer tools:

>> https://ibb.co/g5ciNw

Post count: 22421

Hello,

Please use these guides to properly implement ssl:
http://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/
https://css-tricks.com/moving-to-https-on-wordpress/
https://yoast.com/dev-blog/move-website-https-ssl/
https://forum.tagdiv.com/topic/moving-to-ssl/

I can;t say for sure about newspaper 4 though as it is a very very old version of the theme.

Thank you!

Post count: 38

One more question: in which theme file do I find the line of code below?

<script type=’text/javascript’ src=’http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js?ver=1.10.2′></script&gt;

Post count: 22421

The code is not found in any of the theme files. That is the ad code from google adsense. It is generated by your adsesne codes in the theme panel. You will not find it anywhere in the theme files.

Thank you!

Post count: 38

But I do not use Google AdSense on my website … Is it a native feature of Newspaper 4? Is there any way I can update (from http to https) this line of code?

Post count: 38

Please see this: https://ibb.co/fD7Ueb

Post count: 20688

Hi,

Please try this, deactivate all plugins except theme plugins and check if the script is still loaded. A plugin might be using it. Or maybe try or adapt a code like this to change the link to https
http://www.wpbeginner.com/wp-themes/replace-default-wordpress-jquery-script-with-google-library/

Thanks

Post count: 38

Hi again,

In which theme file do I find this snippet of code? https://ibb.co/f0GDn6

Tks!

Post count: 20688

Hi,

That would be located in this file – https://www.screencast.com/t/CZB5z1ah

Thanks

Post count: 38

Dear, I believe this code snippet has to do with Newspaper … Does the theme (or WPBakery Composer, which was part of the theme) not use Ajax and jQuery? Does not Newspaper need to call these scripts in any file?

Post count: 20688

Hi,

That code outputs the theme name and version in the page source, I don’t know how this is an inconvenience for you. You could remove it from the shown file if you want.
There is no relation between this code and the Visual composer plugin provided bundled in the theme package.
I don’t understand what exactly you are trying to do with the theme files, maybe you could provide some more details and I will try to help you.

Thanks

Viewing 16 posts - 1 through 16 (of 16 total)
The forum ‘Newspaper’ is closed to new topics and replies.