Answers.Body: <p>Can you make sure the anonymous and authenticated users have 'CiviCRM: profile create' permission.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-02T19:40:32.113Z
Answers.Text: That's great advice but it hasn't fixed it.
  This CiviCRM installation allows me to control user permissions in "WordPress Access Control" and by checking the "Create and Edit Profiles" boxes for anonymous users, but this didn't work. I have also verified the groups because I need the new records coming from the HTML forms of the profiles to be saved in a group and I have changed the permissions of this group from "Only users and administrator" to "Public pages" and it did not work either.  https://www.redmaternoinfantil.org.mx/educacion/
Answers.UserDisplayName: Suri Gang's Hallen
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-12-30T19:36:33.167Z
Answers.LastActivityDate: 2022-12-30T19:36:33.167Z
Answers.UserDisplayName: Pradeep Nayak
Answers.Body: <p>In the profile settings, under the Advanced section at the bottom, what do you have for &quot;Redirect URL&quot;? You can put a url for a public page that says &quot;Thanks&quot; or something.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-02T18:54:25.470Z
Answers.Text: @Demérito I did that, but it only works with authenticated users and for external users it redirects to something else.
Answers.UserDisplayName: Suri Gang's Hallen
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-12-30T19:11:55.720Z
Answers.LastActivityDate: 2022-12-30T19:11:55.720Z
Answers.UserDisplayName: Demerit
Body: <p>We have published a CiviCRM profile form at <em><a href="https://www.redmaternoinfantil.org.mx/educacion/" rel="nofollow noreferrer">https://www.redmaternoinfantil.org.mx/educacion/</a></em>, we place this form with the HTML code that CiviCRM provided me.</p>
  <p>We want to receive the information external to our CiviCRM but when trying to send the form, it automatically redirects us to a permission denial link.</p>
  <pre><code>  https://www.redmaternoinfantil.org.mx/civicrm/?page=CiviCRM&amp;q=civicrm%2Fadmin%2Fuf%2Fgroup
  </code></pre>
  <p>The message on the screen is</p>
  <blockquote>
  <p>You do not have permission to access this content</p>
  </blockquote>
  <pre><code>&lt;div&gt;&lt;input name=&quot;entryURL&quot; type=&quot;hidden&quot; value=&quot;https://www.redmaternoinfantil.org.mx/civicrm/?page=CiviCRM&amp;amp;amp;q=civicrm%2Fadmin%2Fsetting%2Fpreferences%2Fdate&amp;amp;amp;page=CiviCRM&amp;amp;amp;action=update&amp;amp;amp;id=7&amp;amp;amp;reset=1&quot; /&gt;
  &lt;input name=&quot;gid&quot; type=&quot;hidden&quot; value=&quot;15&quot; /&gt;
  &lt;input name=&quot;contact_sub_type_hidden&quot; type=&quot;hidden&quot; value=&quot;Beneficiarias&quot; /&gt;
  &lt;input name=&quot;_qf_default&quot; type=&quot;hidden&quot; value=&quot;Edit:next&quot; /&gt;
  &lt;/div&gt;
  </code></pre>
  <p>Log:</p>
  <blockquote>
  <p>[debug] $backTrace = #0 /bitnami/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(441): CRM_Core_Error::backtrace(&quot;backTrace&quot;, TRUE)</p>
  </blockquote>
  
Tags: <wordpress><webform-civicrm><profile><civicrm.settings.php><html>
Title: You do not have permission to access this content in HTML Profile Form
ThreadText: # You do not have permission to access this content in HTML Profile Form
  
  (Asked by: username_0 on 2022-12-30)
  
  We have published a CiviCRM profile form at *<https://www.redmaternoinfantil.org.mx/educacion/>*, we place this form with the HTML code that CiviCRM provided me.
  
  We want to receive the information external to our CiviCRM but when trying to send the form, it automatically redirects us to a permission denial link.
  
  ```
    https://www.redmaternoinfantil.org.mx/civicrm/?page=CiviCRM&q=civicrm%2Fadmin%2Fuf%2Fgroup
  
  ```
  
  The message on the screen is
  
  > You do not have permission to access this content
  
  ```
  <div><input name="entryURL" type="hidden" value="https://www.redmaternoinfantil.org.mx/civicrm/?page=CiviCRM&amp;amp;q=civicrm%2Fadmin%2Fsetting%2Fpreferences%2Fdate&amp;amp;page=CiviCRM&amp;amp;action=update&amp;amp;id=7&amp;amp;reset=1" />
  <input name="gid" type="hidden" value="15" />
  <input name="contact_sub_type_hidden" type="hidden" value="Beneficiarias" />
  <input name="_qf_default" type="hidden" value="Edit:next" />
  </div>
  
  ```
  
  Log:
  
  > [debug] $backTrace = #0 /bitnami/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(441): CRM\_Core\_Error::backtrace("backTrace", TRUE)
  
  **Tags:** wordpress, webform-civicrm, profile, civicrm.settings.php, html
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2022-12-30. Score: 1
  
  Can you make sure the anonymous and authenticated users have 'CiviCRM: profile create' permission.
  
  > **Comments:**
  > **username_0**: That's great advice but it hasn't fixed it. This CiviCRM installation allows me to control user permissions in "WordPress Access Control" and by checking the "Create and Edit Profiles" boxes for anonymous users, but this didn't work. I have also verified the groups because I need the new records coming from the HTML forms of the profiles to be saved in a group and I have changed the permissions of this group from "Only users and administrator" to "Public pages" and it did not work either.  https://www.redmaternoinfantil.org.mx/educacion/  
  
  ---
  
  ### Answer by username_2 on 2022-12-30. Score: 0
  
  In the profile settings, under the Advanced section at the bottom, what do you have for "Redirect URL"? You can put a url for a public page that says "Thanks" or something.
  
  > **Comments:**
  > **username_0**: @Demérito I did that, but it only works with authenticated users and for external users it redirects to something else.  
  
  ---
  
  