WordPress.org

Ready to get started?Download WordPress

Forums

BulletProof Security
[resolved] Always redirect loop in my site (7 posts)

  1. zerobizid
    Member
    Posted 1 year ago #

    Dear admin,

    please help, my website always redirect loop after install BPS and BPS is has been deleted but still redirect loop,, please see in http://hoster.zero.biz.id

    http://wordpress.org/plugins/bulletproof-security/

  2. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Delete the root .htaccess file and the wp-admin .htaccess file. A common cause of an infinite redirect loop is the ErrorDocument directive in the root .htaccess file on Hosts/Servers that are using their own method of handling errors at the Server level.

    The ErrorDocument directive is a redirect based on the HTTP Status Response code.

    Example: ErrorDocument 403 /some-path/some-file.php means when a 403 error occurs redirect to the path/file specified.

  3. zerobizid
    Member
    Posted 1 year ago #

    after deleted .htaccess file is still redirect loop in my site,, please help to fix it???

  4. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    If you deleted the BPS root .htaccess file then the redirect loop is being caused by something else. Post the Server log redirect error. Also just for good measure go to Settings >>> Permalinks and save your permalinks again.

  5. zerobizid
    Member
    Posted 1 year ago #

    solved, i found my chmod in root is the problem because is from bps install

  6. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Did you have Cloudflare .htaccess code in your original .htaccess file? Maybe that is the problem. Check if you need to add Cloudflare .htaccess code to your root .htaccess file.

    [host] => hoster.zero.biz.id
    [type] => A
    [ip] => 108.162.198.46
    [class] => IN
    [ttl] => 289
    
    [0] => Array
            (
                [host] => zero.biz.id
                [type] => NS
                [target] => nina.ns.cloudflare.com
                [class] => IN
                [ttl] => 43189
            )
    
        [1] => Array
            (
                [host] => zero.biz.id
                [type] => NS
                [target] => tim.ns.cloudflare.com
                [class] => IN
                [ttl] => 43189
            )
  7. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, if you delete the root .htaccess file then you would also be checking for a chmod permissions problem in the root .htaccess file so deleting the root .htaccess would also automatically fix that problem. BPS does not apply/chmod any other permissions to any folders or files besides the root .htaccess file.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic