0

A WordPress site I'm on uses WordPress's default cookie-based authentication. This means that the RSS feed of the page is password-protected and can only be read when the cookie is available. Unfortunately, this makes it impossible to include the feed into a feed reader like Feedly, Inoreader, or Slack.

Is there a way to export a page's feed in such a way that it is password-protected and can be used in major feed aggregators?

2
  • Then what would be the point in password protecting it? People will still be able to access it then. Jul 21, 2015 at 13:33
  • People with the password, yes. Jul 21, 2015 at 13:58

1 Answer 1

0

Could you create a PHP file, which listens for a password through a GET method. Then if the password is correct, include the feed and display the feed?

Then you could only access the page if you use the url /example/feed.php?password=PASSWORD

<?php
if ($_GET['password'] == 'PASSWORD') {
    include 'path/to/feed';
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.