Random General Questions

Home Forums BulletProof Security Pro Random General Questions

Viewing 15 posts - 196 through 210 (of 350 total)
  • Author
    Posts
  • #27624
    Paul
    Participant

    The structure is the same, for instance www.myoldinsite.co.uk/locations/something new site www.mynewsite.com/locations/something

    not sure why its not working but not an issue not too much to redirect at the moment

    #27627
    AITpro Admin
    Keymaster

    I tested several different scenarios with WP Permalinks and WP internal rewriting and I see the same thing where only the main site URL is redirecting to other site’s main URL using this code:  RedirectMatch 301 ^/$ http://example.com/$1.  So creating individual additional redirect rules would be the best method to ensure that all old URL’s are redirected to the new URL’s.

    RedirectMatch 301 ^/$ http://example.com/$1
    RedirectMatch 301 ^/post-name-1/$ http://example.com/post-name-1/
    RedirectMatch 301 ^/post-name-2/$ http://example.com/post-name-2/
    #27628
    Paul
    Participant

    What i have done is

    Redirect 301 /index.php http://www.xxxxx.com
    Redirect 301 /party-venue-map/ http://www.xxxxxxx.com/party-venue-map/
    Redirect 301 /add-venue/ http://www.xxxxxxxx.com/add-venue/

    etc seems to work, obviously certain other urls will get a 404 like images etc but i can live with that, it is a very new site so not much to lose
    odd though because i have done it before on older versions without issue?
    Thanks

    #27631
    Jan
    Participant

    I know this is a stupid question, and I saw this before, but I can’t find it again.  Where do I go to put my IP in the whitelist?  I have it in the Plugin page, but there’s another one somewhere I can’t find.

    Also, I wanted to clarify something.  In the latest version I thought I read that the quarantine no longer kicks in when an automatic upgrade or a manual upgrade through the admin page occurs.  Is this correct, or do I need to shut ARQ off temporarily?  Also what about a tool like WP Remote, do I need to shut ARQ off?

    Thanks and sorry for the stupid question?

     

    #27634
    AITpro Admin
    Keymaster

    @ Jan – Are you referring to some BPS Bonus Custom Code?  Why do you need to whitelist your IP address?  Is there a problem occurring with something?  ARQ has not had any major overall functionality changes made in BPS Pro 11.5 and still functions the same.  See the AutoRestore|Quarantine Guide forum topic: http://forum.ait-pro.com/forums/topic/autorestore-quarantine-guide-read-me-first/ which we update if/when there are any changes made to ARQ in any BPS Pro versions.  For 3rd party remote installations like WP Remote see the “AutoRestore|Quarantine Manual File Editing/Uploading Correct Usage” help section in the ARQ Guide link above.  You can install or update plugins without having to do anything with ARQ since the WordPress plugins folder is excluded from being checked by ARQ and is instead protected by the BPS Pro Plugin Firewall.

    #27635
    Jan
    Participant

    Well I am getting the statements at the bottom of this reply.  Wouldn’t it be better to add my ip address to the whitelist, rather than add the xternal to the plugin whitelist?  Also, I will have someone else building my blogs, so I would like to add their IP to the whitelist.

    Also, I am getting PHP errors and I have no idea why I am getting them.  It’s possible that it because I had to delete version 9.91 of BPS to install the latest version, and something didn’t work right when I installed it.  Here’s the link for the PHP error file:   https://www.dropbox.com/s/vj5wpgyu3de0hj8/BPS_php_error.txt?dl=0

    Thanks for the help.
    Jan

    [403 GET Request: December 27, 2015 6:07 pm]
    Event Code: PFWR-PSBR-HPR
    Solution: http://forum.ait-pro.com/forums/topic/security-log-event-codes/
    REMOTE_ADDR: myipaddress
    Host Name: ipmyipaddress.tu.ok.cox.net
    SERVER_PROTOCOL: HTTP/1.0
    HTTP_CLIENT_IP:
    HTTP_FORWARDED:
    HTTP_X_FORWARDED_FOR:
    HTTP_X_CLUSTER_CLIENT_IP:
    REQUEST_METHOD: GET
    HTTP_REFERER:
    REQUEST_URI: /wp-content/plugins/bulletproof-security/admin/xternal/xternal.php
    #27637
    AITpro Admin
    Keymaster

    The php error means that either there is a problem with the folder path for DB Backups or you have an invalid folder permission problem:  http://forum.ait-pro.com/forums/topic/getting-flooded-with-errors-and-security-logs/  Try the steps in this link and also check that you have valid/standard folder permissions for folders.  I’m not really sure what you are asking regarding your other questions. Also do the standard BPS Pro troubleshooting steps in the link below for whatever is not working correctly.  Let me know what is not working correctly because at this point I do not understand if there is a problem and what that problem might be.
    http://forum.ait-pro.com/forums/topic/read-me-first-pro/#bps-pro-general-troubleshooting

    #27643
    Jan
    Participant

    Sorry I must not be clarifying my questions or issues well enough. I resolved the issue with the php errors and the db backup. Now what I wanted to know is where is the whitelist I put my and my outsource ip address  and my ip address in.  I ran into it before but I can’t find it again. The reason is that there are some plugins that I would not want whitelisted, I would think, like the plugin for bps bulletproof-security/admin/xternal/xternal.php.  But maybe I’m no understanding all of this. Thanks.
    Jan

    #27645
    AITpro Admin
    Keymaster

    Is there a reason you need to whitelist something?  Is there an error or problem? If so, what is the error or problem?

    #27646
    Jan
    Participant

    The other thing I need to clarify is my question about ARQ.  I still had version 9.91 cause it wasn’t showing an update was available.  So I wanted to make sure I understood that ARQ won’t kick in if the wordpress version is updated automatically or manually?

    Thanks.

    #27647
    AITpro Admin
    Keymaster

    The most current help information about ARQ can be found here (which is regularly updated to reflect any new changes to ARQ):  http://forum.ait-pro.com/forums/topic/autorestore-quarantine-guide-read-me-first/  I believe the information you are asking about is in the link above.  If the ARQ Guide does not answer your question then specifically explain what you would like to know.

    This forum topic covers things to check when you are not seeing BPS Pro upgrade notifications on the WP Plugins page:  http://forum.ait-pro.com/forums/topic/wp-mu-plugin-update/#post-22887

    #27744
    jenni101
    Participant

    Hi,

    I’m trying to cache my sitemap.xml files, created via Yoast SEO and then cached via ZenCache Pro Auto-cache Engine, but for some reason it always gets blocked, so returns a 405 error.

    I’ve checked through and allowed all HEAD requests, as it was being blocked in my security log, as per below:

    [405 HEAD Request: January 8, 2016 - 1:26 pm]
    Event Code: BFHS-HEAD - HEAD Request Blocked
    Solution: http://forum.ait-pro.com/forums/topic/security-log-event-codes/
    REMOTE_ADDR: 210.48.18.43
    Host Name: ip-210-48-18-43.iconz.net.nz
    SERVER_PROTOCOL: HTTP/1.0
    HTTP_CLIENT_IP:
    HTTP_FORWARDED:
    HTTP_X_FORWARDED_FOR:
    HTTP_X_CLUSTER_CLIENT_IP:
    REQUEST_METHOD: HEAD
    HTTP_REFERER:
    REQUEST_URI: /page-sitemap.xml
    QUERY_STRING:
    HTTP_USER_AGENT: WordPress/4.4; https://www.mysite.com

    In the ZenCache settings it’s ‘Auto-Cache User-Agent String’ is ‘WordPress; zencache160103’

    And so added in this code to the Custom Code Methods Filtered section in my .htacess file:

    # REQUEST METHODS FILTERED
    # If you want to allow HEAD Requests use BPS Custom Code and copy
    # this entire REQUEST METHODS FILTERED section of code to this BPS Custom Code
    # text box: CUSTOM CODE REQUEST METHODS FILTERED.
    # See the CUSTOM CODE REQUEST METHODS FILTERED help text for additional steps.
    RewriteCond %{REQUEST_METHOD} ^(TRACE|DELETE|TRACK|DEBUG) [NC]
    RewriteRule ^(.*)$ - [F]
    # RewriteCond %{REQUEST_METHOD} ^(HEAD) [NC]
    # RewriteRule ^(.*)$ - [R=405,L]

    From what I understand this should have allowed ALL HEAD requests – or not?? Yet it still shows as being blocked in my security log. Not sure what I’m doing wrong here, so all help appreciated!

    Also ideally, I’d only want to allow the get HEAD request from the s2member plugin, and unsure how to do this – OR if I’m caching the sitemap.xml can I ‘whitelist’ this particular file so the bots can always access it anyway?

    Many thanks,

    j

    OK, I think I’ve found the problem – possibly nothing to do the the HEAD request, but needing a change to the plugin firwall whitelist since updating the plugin. It looks like it might be OK now, but will update if not.

    Cheers.

    #27746
    AITpro Admin
    Keymaster

    @ jenni101 – Yes, you are correct that using the modified code above that you posted will allow all HEAD Requests so there is no additional customization/code/etc needed.  Make sure you are doing all the steps correctly in this forum link below to add your custom code to BPS Custom Code:  http://forum.ait-pro.com/forums/topic/broken-link-checker-plugin-403-error/#post-2017

    #27750
    armintz
    Participant

    I had Bulletproof Pro deactivated (underscore at end of plugin name via FTP) as I was running some tests last week… all was functioning fine with it deactivated.

    Today I reactivated Bulletproof Pro, and as soon as I did so, my site is pulling a Server error 500 error. I tried deactivating BP Pro again (underscore at end of plugin name via FTP), but it didn’t fix the server error issue. I also tried adding the default htaccess to my root and wp-contents/plugins folders – issue stays the same. I am baffled.

    Is this perhaps something other than lingering htaccess/BP Pro code causing my issue?

    Site: http://tinyurl.com/zlsoyw9

    I will send login info too, in case you need it to investigate. If not, please ignore the email. Thank you

    #27752
    AITpro Admin
    Keymaster

    @ armintz – Send a WordPress Administrator login for this site and also send an FTP login for this site to: info at ait-pro dot com so that whatever is causing the problem can be fixed.

Viewing 15 posts - 196 through 210 (of 350 total)
  • You must be logged in to reply to this topic.