Answers.Body: <p>You need to ensure that:</p>
  <ul>
  <li>you have a Wordpress page with slug <code>crm</code> in your case (the first part of your path).</li>
  <li>set the corresponding <code>WordPress Base Page</code> in CiviCRM : Administer -&gt; System settings -&gt; CMS Database Integration (or <a href="https://yoursite.com/wp-admin/admin.php?page=CiviCRM&amp;q=civicrm/admin/setting/uf&amp;reset=1" rel="nofollow noreferrer">https://yoursite.com/wp-admin/admin.php?page=CiviCRM&amp;q=civicrm/admin/setting/uf&amp;reset=1</a>) :</li>
  </ul>
  <p><a href="https://i.sstatic.net/OuwtE.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/OuwtE.png" alt="enter image description here" /></a></p>
  <p>Also, in Wordpress, it's better to keep permalinks simple with :</p>
  <p><a href="https://i.sstatic.net/ySJbl.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ySJbl.png" alt="enter image description here" /></a></p>
  <p>Last, you should ensure that clean url are properly enabled with those lines in the civicrm.settings.php (updated in recent version of CiviCRM, check file civicrm/templates/CRM/common/civicrm.settings.php.template for reference) :</p>
  <pre><code>if (!defined('CIVICRM_CLEANURL')) {
    if (function_exists('variable_get') &amp;&amp; variable_get('clean_url', '0') != '0') {
      define('CIVICRM_CLEANURL', 1 );
    }
    elseif ( function_exists('config_get') &amp;&amp; config_get('system.core', 'clean_url') != 0) {
      define('CIVICRM_CLEANURL', 1 );
    }
    elseif( function_exists('get_option') &amp;&amp; get_option('permalink_structure') != '' ) {
      define('CIVICRM_CLEANURL', 1 );
    }
    else {
      define('CIVICRM_CLEANURL', 0);
    }
  }
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-29T13:58:39.917Z
Answers.LastActivityDate: 2022-07-29T13:58:39.917Z
Answers.UserDisplayName: samuelsov
Body: <p>I was wondering how can one make things like event pages or eventually membership application visible 'online'.
  When I create the new event, I get a link in this style <code>https://.../crm/event/info/?reset=1&amp;id=14</code> which leads to a 404 page upon clicking on it.
  The CMS is Wordpress.</p>
  <p>Thanks</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-06-24T09:33:04.037Z
Comments.Text: Is the event active and public?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-06-24T20:15:17.860Z
Comments.Text: you may need to check your civicrm.settings.php to ensure you have things set up correctly there - just that your link above says /crm/event and that doesn't smell right to me
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-07-01T08:00:54.203Z
Comments.Text: What would the correct setting be in that case?
Comments.UserDisplayName: ohdearme
Tags: <wordpress><civievent>
Title: Making event pages visible
ThreadText: # Making event pages visible
  
  (Asked by: username_0 on 2022-06-24)
  
  I was wondering how can one make things like event pages or eventually membership application visible 'online'.
  When I create the new event, I get a link in this style `https://.../crm/event/info/?reset=1&id=14` which leads to a 404 page upon clicking on it.
  The CMS is Wordpress.
  
  Thanks
  
  **Tags:** wordpress, civievent
  
  > **Comments:**
  > **username_1**: Is the event active and public?  
  > **username_2**: you may need to check your civicrm.settings.php to ensure you have things set up correctly there - just that your link above says /crm/event and that doesn't smell right to me  
  > **username_0**: What would the correct setting be in that case?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2022-07-29. Score: 2
  
  You need to ensure that:
  
  * you have a Wordpress page with slug `crm` in your case (the first part of your path).
  * set the corresponding `WordPress Base Page` in CiviCRM : Administer -> System settings -> CMS Database Integration (or <https://yoursite.com/wp-admin/admin.php?page=CiviCRM&q=civicrm/admin/setting/uf&reset=1>) :
  
  [![enter image description here](https://i.sstatic.net/OuwtE.png)](https://i.sstatic.net/OuwtE.png)
  
  Also, in Wordpress, it's better to keep permalinks simple with :
  
  [![enter image description here](https://i.sstatic.net/ySJbl.png)](https://i.sstatic.net/ySJbl.png)
  
  Last, you should ensure that clean url are properly enabled with those lines in the civicrm.settings.php (updated in recent version of CiviCRM, check file civicrm/templates/CRM/common/civicrm.settings.php.template for reference) :
  
  ```
  if (!defined('CIVICRM_CLEANURL')) {
    if (function_exists('variable_get') && variable_get('clean_url', '0') != '0') {
      define('CIVICRM_CLEANURL', 1 );
    }
    elseif ( function_exists('config_get') && config_get('system.core', 'clean_url') != 0) {
      define('CIVICRM_CLEANURL', 1 );
    }
    elseif( function_exists('get_option') && get_option('permalink_structure') != '' ) {
      define('CIVICRM_CLEANURL', 1 );
    }
    else {
      define('CIVICRM_CLEANURL', 0);
    }
  }
  
  ```
  
  
  ---
  
  