Require signin on Load More (pagination) click

Home Forums Gillion Theme Require signin on Load More (pagination) click

Home Forums Gillion Theme Require signin on Load More (pagination) click

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • siaghos
    Participant

    Hi,

    I am having a problem related to blog pagination. For the blog posts that have Load More pagination everything is ok when I test with logged credentials.

    However, when I logout or test in anonymous (replicating a normal non-logged in user) and I press one of the pagination Load More buttons, the website requires me to login saying its restricted content.

    I have default .htaccess on wp root folder and a .passwd on wp-admin. Nothing more.

    Can you help please?

    Thank you!

     

     

     

    • This topic was modified 5 months ago by siaghos.

    siaghos
    Participant

    Solved.

    By blocking the wp-admin with .htpasswd the admin-ajax.php file was not reachable by gillion. Solved this at the apache2 config level.

    ps. why does a Load More would require admin-ajax.php?!?

    Thanks,

    Shufflehound
    Moderator

    Hi there,

     

    Thank you for letting us know.

     

    That is a standard practice for WordPress plugins and themes to use admin-ajax.php file for to send AJAX requests. We are not sure why, but that is how it works (if you are interested then here is more information about that).

     

    Best regards,

    Shufflehound team

Viewing 3 posts - 1 through 3 (of 3 total)