Answers.Body: <p>Ah, that moment when you bump into a question you figured out but I forgot I even posted it here.</p>
  
  <p>There may be other methods but you should use the native CiviCRM profile link which you can find at Administer > Profiles > more > Use- Listings Mode. This looks like: <a href="https://example.org/civicrm/?page=CiviCRM" rel="nofollow noreferrer">https://example.org/civicrm/?page=CiviCRM</a>..." format or whatever you set your base page at.</p>
  
  <p>The issue seems to be if you try and use a shortcode for this directory style listing and not use the CiviCRM base page. So, you can create a clean URL to redirect to the native CiviCRM profile link. Perhaps this is considered a workaround but it works :)</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-09T20:01:37.483Z
Answers.LastActivityDate: 2018-05-09T20:01:37.483Z
Answers.UserDisplayName: Andy Burns
Body: <p>I am seeing unusual behavior when trying to insert a profile as a directory on the front end of WP.</p>
  
  <p><a href="https://my.url.org/state-chairs/?page=CiviCRM&amp;q=civicrm/profile&amp;force=1&amp;gid=21" rel="nofollow noreferrer">https://my.url.org/state-chairs/?page=CiviCRM&amp;q=civicrm/profile&amp;force=1&amp;gid=21</a></p>
  
  <p><a href="https://my.url.org/states/?page=CiviCRM&amp;q=civicrm/profile&amp;force=1&amp;gid=19" rel="nofollow noreferrer">https://my.url.org/states/?page=CiviCRM&amp;q=civicrm/profile&amp;force=1&amp;gid=19</a></p>
  
  <p>They should be showing two different data sets but are only showing the same data? I checked that the profile has the proper group selected.</p>
  
  <p>Also it says as an admin I do not have permission to access this page: <a href="https://my.url.org/states/" rel="nofollow noreferrer">https://my.url.org/states/</a> When I visit there it says:</p>
  
  <blockquote>
    <p>Permission Denied You do not have permission to view this contact record. Contact the site administrator if you need assistance. </p>
  </blockquote>
  
  <p>I am running CiviCRM 4.7.27 on WP 4.9.1. This is a multisite.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-20T10:13:25.493Z
Comments.Text: It would be helpful if you could be more specific about how you're trying to achieve your goal. Have you tried using a shortcode? Or are you relying on the querystring to be present?
Comments.UserDisplayName: Christian Wach
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-20T15:58:57.687Z
Comments.Text: This is using a shortcode: e.g. [civicrm component="profile" gid="19" mode="view" hijack="0"]
Comments.UserDisplayName: Andy Burns
Tags: <wordpress><profile>
Title: Profile Directory in Wordpress
ThreadText: # Profile Directory in Wordpress
  
  (Asked by: username_0 on 2017-12-19)
  
  I am seeing unusual behavior when trying to insert a profile as a directory on the front end of WP.
  
  <https://my.url.org/state-chairs/?page=CiviCRM&q=civicrm/profile&force=1&gid=21>
  
  <https://my.url.org/states/?page=CiviCRM&q=civicrm/profile&force=1&gid=19>
  
  They should be showing two different data sets but are only showing the same data? I checked that the profile has the proper group selected.
  
  Also it says as an admin I do not have permission to access this page: <https://my.url.org/states/> When I visit there it says:
  
  > Permission Denied You do not have permission to view this contact record. Contact the site administrator if you need assistance.
  
  I am running CiviCRM 4.7.27 on WP 4.9.1. This is a multisite.
  
  **Tags:** wordpress, profile
  
  > **Comments:**
  > **username_1**: It would be helpful if you could be more specific about how you're trying to achieve your goal. Have you tried using a shortcode? Or are you relying on the querystring to be present?  
  > **username_0**: This is using a shortcode: e.g. [civicrm component="profile" gid="19" mode="view" hijack="0"]  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2018-05-09. Score: 2
  
  Ah, that moment when you bump into a question you figured out but I forgot I even posted it here.
  
  There may be other methods but you should use the native CiviCRM profile link which you can find at Administer > Profiles > more > Use- Listings Mode. This looks like: <https://example.org/civicrm/?page=CiviCRM>..." format or whatever you set your base page at.
  
  The issue seems to be if you try and use a shortcode for this directory style listing and not use the CiviCRM base page. So, you can create a clean URL to redirect to the native CiviCRM profile link. Perhaps this is considered a workaround but it works :)
  
  
  ---
  
  