Home › Forums › BulletProof Security Free › Adding Code to BPS Includes Function.php File
- This topic has 3 replies, 3 voices, and was last updated 3 weeks, 4 days ago by Anonymous.
-
AuthorPosts
-
valtParticipant
Hello,
I have added some code to my .htaccess file to change the browser caching on my WordPress site. The expires caching code.
I added the code between the lines
# BULLETPROOF .48.5 >>>>>>> SECURE .HTACCESS
and
# If you edit the BULLETPROOF .48.5 >>>>>>> SECURE .HTACCESS text above 2 lines below this I notice that it reads,
# If you would like to change what is displayed above you # will need to edit the BPS /includes/functions.php file to match your changes I found this file but I have no idea where in this file I'm suppose to add the code. I would greatly appreciate some help with this and thank you.
AITpro AdminKeymasterYou would not need to change anything in the functions.php file as long as you put your caching code below/after all of the text at the top of the .htaccess file. That is where it should go anyway. The top section of text is just commented out text that is there for version checking.
# BULLETPROOF .48.5 >>>>>>> SECURE .HTACCESS
# If you edit the BULLETPROOF .48.5 >>>>>>> SECURE .HTACCESS text above
# you will see error messages on the BPS Security Status page
# BPS is reading the version number in the htaccess file to validate checks
# If you would like to change what is displayed above you
# will need to edit the BPS /includes/functions.php file to match your changes
# If you update your WordPress Permalinks the code between BEGIN WordPress and
# END WordPress is replaced by WP htaccess code.
# This removes all of the BPS security code and replaces it with just the default WP htaccess code
# To restore this file use BPS Restore or activate BulletProof Mode for your Root folder again.# BEGIN WordPress
# IMPORTANT!!! DO NOT DELETE!!! – B E G I N WordPress above or E N D WordPress – text in this file
# They are reference points for WP, BPS and other plugins to write to this htaccess file.
# IMPORTANT!!! DO NOT DELETE!!! – BPSQSE BPS QUERY STRING EXPLOITS – text
# BPS needs to find the – BPSQSE – text string in this file to validate that your security filters existYour caching code goes here
valtParticipantThank you so much for your help and preventing me from making a mess of things.
I greatly appreciate it.
AnonymousInactiveCrafted for durability, these slides are ready to handle whatever the day brings mens bubble slides, making them a reliable companion for casual outings and home relaxation. Versatile and practical, these slides blend effortlessly with any laid-back outfit, whether running errands or kicking back.
-
AuthorPosts
- You must be logged in to reply to this topic.