Title: Cannot modify htaccess
Last modified: August 30, 2016

---

# Cannot modify htaccess

 *  Resolved [milkzore](https://wordpress.org/support/users/milkzore/)
 * (@milkzore)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/cannot-modify-htaccess/)
 * Hello, I’m trying to block manually referral spam urls with code
    RewriteCond%{
   HTTP_REFERER} spamsiteurl.com [NC,OR] on htaccess file
 * when I upload the file via FTP the changes are not visible, looks like its read
   only. any help with this?
 * Thanks!
 * [https://wordpress.org/plugins/bulletproof-security/](https://wordpress.org/plugins/bulletproof-security/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/cannot-modify-htaccess/#post-6431185)
 * To add personal custom htaccess code and incorporate/combine it into standard
   BPS htaccess code/files use BPS Custom Code, which saves your personal custom
   htaccess code permanently and creates your personal custom .htaccess code in 
   the correct place in your htaccess file.
 * See this forum topic: [http://forum.ait-pro.com/forums/topic/block-referer-spammers-semalt-kambasoft-ranksonic-buttons-for-website/](http://forum.ait-pro.com/forums/topic/block-referer-spammers-semalt-kambasoft-ranksonic-buttons-for-website/)
   for step by step instructions for where to add your personal custom htaccess 
   code in BPS Custom Code.
 * These days pretty much all Referer Spammers are now sending fake tracking calls
   directly to your Google Analytics Tracking ID so trying to block Referer Spammers
   on your website will do nothing at all.
 * > Important Note: Some Referer Spammers (4webmasters.org) send fake tracking 
   > calls directly to your Google Analytics Tracking ID. This is a completely random
   > and automated thing. So since the Referer Spammer domain is not actually visiting
   > your website then that leaves you with filtering out Referer Spam domains/hostnames
   > in Google Analytics Metrics.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/cannot-modify-htaccess/#post-6431345)
 * Assuming all questions have been answered – thread has been resolved. If you 
   have additional questions about this specific thread topic then you can post 
   them at any time. We still receive email notifications when threads have been
   resolved.
 * Thread Start Date: 8-13-2015
    Thread Resolved/Current Date: 8-14-2015

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cannot modify htaccess’ is closed to new replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [AITpro](https://wordpress.org/support/users/aitpro/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/cannot-modify-htaccess/#post-6431345)
 * Status: resolved