WordPress.org

Ready to get started?Download WordPress

Forums

BulletProof Security
[resolved] BPS and Facebook Connect Plugin (4 posts)

  1. cogmios
    Member
    Posted 3 years ago #

    I'm using: http://ottopress.com/wordpress-plugins/simple-facebook-connect/
    and when a user tries to connect a call goes out to facebook, returns to the root of the domain and well... gets blocked.

    So I disabled BPS on the particular site.

    Is there a workaround for that?

    (it is easy to test just install/activate the plugin and try to connect to facebook)

  2. AITpro
    Member
    Plugin Author

    Posted 3 years ago #

    Yes there is a permanent fix already included in BPS for this issue. The secure.htaccess file should contain this htaccess code. If your WordPress installation is in your website root folder then this fix should work for you automatically. If your WordPress installation is in a subfolder then you will need to add your wordpress subfolder name.

    # SFC Simple Facebook Connect Redirect Fix
    # If you have WordPress installed in a subfolder you will need to add the
    # subfolder name to the Rewriterule /blog/wp-login.php?action=register [R=301,L]
    RewriteCond %{QUERY_STRING} redirect_to=(.*) [NC,OR]
    RewriteCond %{REQUEST_URI} ^/simple-facebook-connect/ [NC]
    RewriteRule ^(.*)$ /wp-login.php?action=register [R=301,L]
  3. AITpro
    Member
    Plugin Author

    Posted 3 years ago #

    The above fix (it was a bad way to go from the get go anyway to get SFC working correctly) no longer works in the most current version of SFC v.25. The new BPS .htaccess coding fix below for SFC has been included in BPS .45.8 version release.

    # SFC Simple Facebook Connect Redirect Fix
    # Also fixes any other plugins that use the redirect_to= string
    RewriteCond %{QUERY_STRING} redirect_to=(.*) [NC]
    RewriteRule . - [S=30]

    This new BPS .htaccess coding fix will also resolve any issues with any other plugins that are also using the redirect_to= string to redirect links.

  4. cogmios
    Member
    Posted 3 years ago #

    Thanks for the update! Superb plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic