Plugin Author
Dan
(@geekysoft)
Old posts are submitted for archival within a few hours of installing the plugin (new submissions are rate-limited). New posts are submitted for archival 12 hours after publication.
After submission, it can take days, weeks, or even months before a site is made available in the Wayback Machine. There is no guarantee that your site will be made available either — they exclude some type of content, like spam and adult entertainment. That is entirely up to the Internet Archive. This extension simply sends a request to the Internet Archive to let them know you have a new page and would like them to archive it for you.
function wppaiapi_archive_post( $ID, $url, $on_publish ) {
// verify that the post is still public and a link.
if ( get_post_status( $ID ) != 'publish' || strpos( $url, 'http' ) === FALSE )
return FALSE;
could it be that your extension at https: // does not work?
Plugin Author
Dan
(@geekysoft)
That works just fine. The position of the substring http in both https and http is 0. strpos only returns FALSE if the substring isn’t in the subject.