{"id":9569284,"date":"2017-10-09T11:35:07","date_gmt":"2017-10-09T11:35:07","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/add-on-domains-2\/"},"modified":"2017-10-09T14:25:50","modified_gmt":"2017-10-09T14:25:50","slug":"add-on-domains-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/add-on-domains-2\/","title":{"rendered":"Add-on domains"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I&#8217;m running wordfence on a hosting account with a main domain and several add on domains.  Each has a separate wordpress instance, and I want to be able to use wordfence on some of them, and not on others.<\/p>\n<p>The host is www.bestwebhosting.co.uk, and they instruct users wishing to use wordfence to enable the auto_prepend_file option within cpanel php options as follows:<\/p>\n<p>https:\/\/www.bestwebhosting.co.uk\/client\/knowledgebase\/133\/How-to-add-an-autoprependfile-php-option-Wordfence.html<\/p>\n<p>However, this causes issues with other wordpress instances on our addon domains &#8211; for example I&#8217;m getting 403 errors in admin-ajax.php when trying to update my theme settings.<\/p>\n<p>I&#8217;ve tried adding a .user.ini file including<\/p>\n<p><code>auto_prepend_file = none<\/code><\/p>\n<p>to no effect.<\/p>\n<p>PS: I&#8217;ve reviewed the details of this post, but it doesn&#8217;t seem to provide a definitive answer:<\/p>\n<p>https:\/\/wordpress.org\/support\/topic\/need-to-install-wordfence-on-all-the-domains-on-root\/<\/p>\n","protected":false},"template":"","class_list":["post-9569284","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9569284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9569284\/revisions"}],"predecessor-version":[{"id":9569852,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9569284\/revisions\/9569852"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9569284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}