Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #876177

    Hello all ^^

    Im installing this plugin (Ajax Load More ) for add a load more button to blog or infinite scroll because google is penalizing me for duplicate content by repeating the text on every page of the blog pagination.

    I configurated the plugin like the screen:
    https://s7.postimg.org/62xm5s7ih/screen.png

    but it does not work at the moment. as we can see in the capture
    https://s7.postimg.org/6sgei5frv/screen2.png

    Can you help me please? I’ve been trying for a while, I’ve read all the threads of this topic in the forum but I can not find the solution, and I think it’s close. maybe you can help me.
    Thanks

    #877111

    Hey Ganubis,

    Unfortunately, we can’t offer support for third-party plugins – so, you need to contact the plugin author.

    Best regards,
    John Torvik

    #877696

    Ok, thanks John :)

    So. Is it possible to hide the content of the remaining pages? That only the blog entries appear on the other pages? 2,3,4,5 … hide everything except blog entries

    Best regards

    #878361

    Hi,

    I’m not sure what you meant, using Blog in ALB with pagination enabled and post number set should be enough and wouldn’t create duplicates.

    Best regards,
    Nikko

    #885870

    Hi Nikko Thanks

    I disable pagination to show all the content on a single page on mi blog:

    Because if we put the urle with /page/2/ or placing any number, the page is always displayed the content. should show page not found.

    http://www.dinosaurios.tienda/noticias-informacion-sobre-dinosaurios/page/100/
    http://www.dinosaurios.tienda/noticias-informacion-sobre-dinosaurios/page/1000/
    http://www.dinosaurios.tienda/noticias-informacion-sobre-dinosaurios/page/1000000/

    when trying to access these pages that do not exist. Should not the message “page not found” be displayed?

    Thanks
    Best regards,
    Ganu

    #886982

    Hi,
    I had researched this issue in the past, it is a error in the way the rules are written by WordPress and happens with most themes. It has been responsible for sites being listed on Google with dozens of bad pages. At the time it was thought the next WordPress update would fix it, but apparently not. The best solution is to add this code in your .htaccess file:

    RedirectMatch permanent /([a-z0-9\-]+\/)[0-9\/]+ /$1

    Best regards,
    Mike

    #887114

    Hello Mike, thank you

    Great, the rule works, but the load time of the page is greatly increase, the images take much longer to load, is appreciable that happens when I activate this rule in the .htaccess, some images do not load (very few) Revolution Slider too. and the blog does not finish loading. I think that in general when setting this rule I slow down the load of everything at least 20 or 30% approx. It is complicated to calculate because it is irregular in each load.

    Is there any variation of this code that I can try? because in reality if it works, it just gives me problems does not load the web well, or does not finish loading

    Thank you
    Best regards,
    Ganu

    #887187

    Hi,
    That is strange, I haven’t seen this on the sites I’ve tested the rule on. I may have forgot to tell you to place the rule right after “RewriteEngine On” in your .htaccess file.
    I did find another rule to try:

    RewriteRule ^page/(.*)$ /$1 [G]

    Best regards,
    Mike

    #887512

    editing..

    • This reply was modified 6 years, 11 months ago by Astrobiologic.
    #887547

    Hi, Mike

    Like this? Example:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RedirectMatch permanent /([a-z0-9\-]+\/)[0-9\/]+ /$1
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress


    Thanks
    Best regards,

    #887567

    Hi

    I have tried like this:
    1 – it works but slows down a lot the page, does not load it at all.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RedirectMatch permanent /([a-z0-9\-]+\/)[0-9\/]+ /$1
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    2 – like this: it works but (slows down the page, does not load it at all.)

    #BEGIN 404
    RewriteEngine On
    RedirectMatch permanent /([a-z0-9\-]+\/)[0-9\/]+ /$1
    # END 404

    3 – like this: (does nothing)

    RewriteEngine On
    RewriteRule ^/page/$1?$ / [R=301,L]

    4 – and (does nothing)
    does nothing

    RewriteEngine On
    RewriteRule ^/page/([0-9]+)$ / [R=301,L]

    And i have disabled all plugins to test

    Any idea to try?

    Thanks
    Best regards
    Ganu

    #888559

    Hi,
    Sorry, I don’t know why those changes are slowing down your site unless it is creating a redirect loop. Do you have other rules in your .htaccess? After adding these rules did you try saving your permalink structure again?
    I see right now that “noticias-informacion-sobre-dinosaurios/page/1” redirects to “noticias-informacion-sobre-dinosaurios/”
    but noticias-informacion-sobre-dinosaurios/page/10 doesn’t
    Perhaps try the following rule if you want to rewrite /page/X/ to /page/ exactly. (where X is any number)

    RewriteRule ^page/([0-9]+)/$ http://domain.com/page/ [R=302,L]

    If you want to rewrite /[anystring]/X/ to /[anystring]/ you can try

    RewriteRule ^(.*)/([0-9]+)/$ http://domain.com/$1/ [R=302,L]

    maybe adding the url to the redirect will help stop a redirect loop

    Best regards,
    Mike

    #888921

    Yeah! Thank you Mike! This code has worked

    RewriteRule ^(.*)/([0-9]+)/$ http://domain.com/$1/ [R=302,L]

    It works perfectly

    Thank you very much for everything, for all the solutions. +10

    Best regards
    Ganu

    #889166

    Hi,

    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Load More Plugin for enfold’ is closed to new replies.