Answers.Body: <ul>
  <li>Go to CiviCRM's **Administer menu » Users and Permissions » Permissions 
  (Access Control).</li>
  <li>Click "WordPress Access Control".</li>
  <li>In the "Anonymous User" column, check "CiviCRM: profile view".  </li>
  <li>If your profile contains custom fields, check "CiviCRM: access all custom data".</li>
  <li>Press "Save" at the bottom of the page.</li>
  </ul>
  
  <p>Note that this is a quick-and-dirty approach that assumes you're OK with ANY profile being accessible by anonymous users if "Standalone Form or Directory" is checked.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-22T18:53:19.303Z
Answers.Text: In step 3 I believe you need to also have 'CiviCRM: profile listings and forms' checked.
Answers.UserDisplayName: KilakwaBT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-22T18:39:02.433Z
Answers.LastActivityDate: 2017-05-22T18:39:02.433Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>It has been suggested that I may need to allow anonymous users to view profiles. I am running CiviCRM on a WordPress site.  </p>
  
  <p>From what I'm reading here ...</p>
  
  <p><a href="https://wiki.civicrm.org/confluence/display/CRMDOC/Linking+Profiles" rel="nofollow noreferrer">https://wiki.civicrm.org/confluence/display/CRMDOC/Linking+Profiles</a></p>
  
  <p>... I'm gathering that this may only be possible on Drupal, not WordPress.  Is that correct?</p>
  
  <p>If so, is it the case that non-logged-in users on WordPress are automatically allowed to view profiles?</p>
  
  <p>I'm using the profile to create a public directory:
  1) Create a number of custom fields
  2) Create a profile ("Trainers and Coaches", gid=17) that includes those custom fields, as well as some standard fields like First Name, Last Name, etc.
  3) Create a front-end profile view.</p>
  
  <p>This works when I'm logged in to WordPress. (Though I had some questions about <a href="https://civicrm.stackexchange.com/questions/18727/clicking-fields-in-front-end-profile-view-gives-inconsistent-results">inconsistent results when clicking on fields in the profile view</a>.)</p>
  
  <p>When not logged in to WordPress, I get errors.</p>
  
  <p>Using a shortcode:  <code>[civicrm component="profile" gid="17" mode="search" hijack="0"]</code></p>
  
  <p>I get: </p>
  
  <pre><code>Sorry but we are not able to provide this at the moment.
  The requested Profile (gid=17) is disabled OR it is not configured to be used for 'Profile' listings in its Settings OR there is no Profile with that ID OR you do not have permission to access this profile. Please contact the site administrator if you need assistance.
  </code></pre>
  
  <p>(The profile is not disabled and is configured for use with <code>Standalone Form or Directory</code> and <code>Search Views</code>, so I guess permissions are the remaining option.)</p>
  
  <p>If I use this:     <code>http://mysite.org/trainers-coaches/?page=CiviCRM&amp;q=civicrm/profile&amp;reset=1&amp;force=1&amp;gid=17</code></p>
  
  <p>I get:</p>
  
  <pre><code> Sorry but we are not able to provide this at the moment.
  We can't load the requested web page. This page requires cookies to be enabled in your browser settings. Please check this setting and enable cookies (if they are not enabled). Then try again. If this error persists, contact the site administrator for assistance.&lt;br /&gt;&lt;br /&gt;Site Administrators: This error may indicate that users are accessing this page using a domain or URL other than the configured Base URL. EXAMPLE: Base URL is http://example.org, but some users are accessing the page via http://www.example.org or a domain alias like http://myotherexample.org.&lt;br /&gt;&lt;br /&gt;Error type: Could not find a valid session key.
  </code></pre>
  
  <p>(Cookies are enabled, I've tried Chrome and Safari in OSX, and Chrome and IE in Windows, with the same results. And the URL defined in WordPress is <code>http://mysite.org</code>.)</p>
  
  <p>Any help will be greatly appreciated!</p>
  
  <p>Wordpress 4.7.5 CiviCRM 4.7.17</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-22T14:46:15.023Z
Comments.Text: Profiles can be used in a lot of ways. Can you provide some additional info on what you want to use a profile for?
Comments.UserDisplayName: KilakwaBT
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-22T18:27:14.830Z
Comments.Text: Thank you, @KilakwaBT, I have given details on what I'm trying to do with the profile. It's a public directory of trainers and coaches.
Comments.UserDisplayName: user1147171
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-07-05T12:05:47.217Z
Comments.Text: The answer seems correct in Theory for Wordpress according to the [official documentation on permissions](https://docs.civicrm.org/user/en/latest/initial-set-up/permissions-and-access-control/#access-control-permissions-in-wordpress) BUT... There is no Anonymous screen in Wordpress by default on Multi-Site. The thing I did not get at first was that you need to enable this from the first site you installed when installing Wordpress - before converting to Multi-Site. BTW - I'm using a Wordpress Multi-Site. With Wordpress 4.8 and CiviCRM 4.6.28
Comments.UserDisplayName: Codes
Tags: <wordpress><profile><permissions>
Title: allow anonymous users to view profiles in WordPress?
ThreadText: # allow anonymous users to view profiles in WordPress?
  
  (Asked by: username_0 on 2017-05-22)
  
  It has been suggested that I may need to allow anonymous users to view profiles. I am running CiviCRM on a WordPress site.
  
  From what I'm reading here ...
  
  <https://wiki.civicrm.org/confluence/display/CRMDOC/Linking+Profiles>
  
  ... I'm gathering that this may only be possible on Drupal, not WordPress. Is that correct?
  
  If so, is it the case that non-logged-in users on WordPress are automatically allowed to view profiles?
  
  I'm using the profile to create a public directory:
  1) Create a number of custom fields
  2) Create a profile ("Trainers and Coaches", gid=17) that includes those custom fields, as well as some standard fields like First Name, Last Name, etc.
  3) Create a front-end profile view.
  
  This works when I'm logged in to WordPress. (Though I had some questions about [inconsistent results when clicking on fields in the profile view](https://civicrm.stackexchange.com/questions/18727/clicking-fields-in-front-end-profile-view-gives-inconsistent-results).)
  
  When not logged in to WordPress, I get errors.
  
  Using a shortcode: `[civicrm component="profile" gid="17" mode="search" hijack="0"]`
  
  I get:
  
  ```
  Sorry but we are not able to provide this at the moment.
  The requested Profile (gid=17) is disabled OR it is not configured to be used for 'Profile' listings in its Settings OR there is no Profile with that ID OR you do not have permission to access this profile. Please contact the site administrator if you need assistance.
  
  ```
  
  (The profile is not disabled and is configured for use with `Standalone Form or Directory` and `Search Views`, so I guess permissions are the remaining option.)
  
  If I use this: `http://mysite.org/trainers-coaches/?page=CiviCRM&q=civicrm/profile&reset=1&force=1&gid=17`
  
  I get:
  
  ```
   Sorry but we are not able to provide this at the moment.
  We can't load the requested web page. This page requires cookies to be enabled in your browser settings. Please check this setting and enable cookies (if they are not enabled). Then try again. If this error persists, contact the site administrator for assistance.<br /><br />Site Administrators: This error may indicate that users are accessing this page using a domain or URL other than the configured Base URL. EXAMPLE: Base URL is http://example.org, but some users are accessing the page via http://www.example.org or a domain alias like http://myotherexample.org.<br /><br />Error type: Could not find a valid session key.
  
  ```
  
  (Cookies are enabled, I've tried Chrome and Safari in OSX, and Chrome and IE in Windows, with the same results. And the URL defined in WordPress is `http://mysite.org`.)
  
  Any help will be greatly appreciated!
  
  Wordpress 4.7.5 CiviCRM 4.7.17
  
  **Tags:** wordpress, profile, permissions
  
  > **Comments:**
  > **username_1**: Profiles can be used in a lot of ways. Can you provide some additional info on what you want to use a profile for?  
  > **username_0**: Thank you, @username_1, I have given details on what I'm trying to do with the profile. It's a public directory of trainers and coaches.  
  > **username_2**: The answer seems correct in Theory for Wordpress according to the [official documentation on permissions](https://docs.civicrm.org/user/en/latest/initial-set-up/permissions-and-access-control/#access-control-permissions-in-wordpress) BUT... There is no Anonymous screen in Wordpress by default on Multi-Site. The thing I did not get at first was that you need to enable this from the first site you installed when installing Wordpress - before converting to Multi-Site. BTW - I'm using a Wordpress Multi-Site. With Wordpress 4.8 and CiviCRM 4.6.28  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2017-05-22. Score: 3 | Accepted answer
  
  * Go to CiviCRM's \*\*Administer menu » Users and Permissions » Permissions
    (Access Control).
  * Click "WordPress Access Control".
  * In the "Anonymous User" column, check "CiviCRM: profile view".
  * If your profile contains custom fields, check "CiviCRM: access all custom data".
  * Press "Save" at the bottom of the page.
  
  Note that this is a quick-and-dirty approach that assumes you're OK with ANY profile being accessible by anonymous users if "Standalone Form or Directory" is checked.
  
  > **Comments:**
  > **username_1**: In step 3 I believe you need to also have 'CiviCRM: profile listings and forms' checked.  
  
  ---
  
  