"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.