• Resolved flyfisher842

    (@flyfisher842)


    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://ww.wp.xz.cn/plugins/bulletproof-security/

Viewing 2 replies - 16 through 17 (of 17 total)
  • Plugin Author AITpro

    (@aitpro)

    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

    (@aitpro)

    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)

The topic ‘css,js access control’ is closed to new replies.