Title: css,js access control
Last modified: August 24, 2016

---

# css,js access control

 *  Resolved [flyfisher842](https://wordpress.org/support/users/flyfisher842/)
 * (@flyfisher842)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/cssjs-access-control/)
 * In relation to the Google mobile friendly push
    If I was going to allow the robots
   access to the wp-content/themes, the wp-content/plugins and the wp/includes folders
   in robots.txt but add some x header meta no-index to the htaccess code through
   BPS, how would I syntax the code.
 * Ex
    robots.txt Allow: /wp-content/uploads/ Allow: /wp-content/themes/*js? Allow:/
   wp-content/themes/*css? Allow: /wp-content/plugins/*js? Allow: /wp-content/plugins/*
   css?
 * ex htaccess code
    <Files ~\/wp-content\/;> Header set X-Robots-Tag “no-index”
   </Files>
 * Can all this be done through htaccess and stop messing with the robots.txt?
 * [https://wordpress.org/plugins/bulletproof-security/](https://wordpress.org/plugins/bulletproof-security/)

Viewing 2 replies - 16 through 17 (of 17 total)

[←](https://wordpress.org/support/topic/cssjs-access-control/?output_format=md) 
[1](https://wordpress.org/support/topic/cssjs-access-control/?output_format=md) 
2

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/cssjs-access-control/page/2/#post-6028187)
 * If your theme is not already Responsive then I recommend using this mobile device
   plugin: WPTouch. Very simple to setup and it works great on all my sites.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/cssjs-access-control/page/2/#post-6028191)
 * 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: 4-17-2015 to 4-18-2015
    Thread Resolved/Current Date: 4-28-
   2015 Comments: Non-BPS plugin issue. General question about robots.txt files 
   and SEO.

Viewing 2 replies - 16 through 17 (of 17 total)

[←](https://wordpress.org/support/topic/cssjs-access-control/?output_format=md) 
[1](https://wordpress.org/support/topic/cssjs-access-control/?output_format=md) 
2

The topic ‘css,js access control’ 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/)

 * 17 replies
 * 2 participants
 * Last reply from: [AITpro](https://wordpress.org/support/users/aitpro/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/cssjs-access-control/page/2/#post-6028191)
 * Status: resolved