"Load more" button of blog not working over HTTP

edited August 2017 in Blog
Hi there,

I just used your "blog"-shortcode which includes a "load more" button.

Everything works great so far on HTTPS (thanks for the nice shortcode) but if I access the side via HTTP the button doesn't load more news (well it seems like it's loading forever).

http://karlsruher-paesse.initiumit.de/

Thanks a lot in advance

Comments

  • edited August 2017

  • It seems like older devices/software cannot handle the redirection. Please take a look at your htaccess file since this must be connected to the redirects from http to https

  • Thanks for your reply.
    I just recognized: The problem is not connected to any device/software - it's only connected to HTTP / HTTPS.

    My htaccess looks quite standard

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
  • edited August 2017
    Even if I connect via HTTP the html code (I think it comes from link-template.php > get_home_url()) the page2 link shows HTTPS.

    Example (connected via HTTP):
    <a class="pager_load_more button button_js kill_the_icon" href="HTTPS://karlsruher-paesse.initiumit.de/page/2/">.................</a>


    Comment section of get_home_url:
    Returns the 'home' option with the appropriate protocol. The protocol will be 'https'
     * if is_ssl() evaluates to true; otherwise, it will be the same as the 'home' option.
     * If `$scheme` is 'http' or 'https', is_ssl() is overridden.
  • .... just solved it by going to Wordpress > Settings > Wordpress URL and replaced https with http

    Thanks anyway :)
  • Glad you figured it out.
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.