Answers.Body: <p>Do you have CMS integration set in your system? You need to have default page or post in WordPress and have it set in CMS integration</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-06T15:05:18.837Z
Answers.Text: @bhance In addition to this, try visiting your "Permalinks" settings page and saving again. This refreshes the WordPress Rewrite Rules.
Answers.UserDisplayName: Christian Wach
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-06T17:25:47.100Z
Answers.Text: @pradeep yes, my Administer -> System Settings -> CMS Database Integration is set, and it's set to https://crm.[siteiamdeploying].org/civicrm/ and that page loads.
Answers.UserDisplayName: bhance
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-06T18:15:08.447Z
Answers.Text: I think I've solved this. All the documentation I was reading here was saying "Set permalinks to "postname". In Wordpress, I was choosing " Post name  https://crm.[redacted].org/sample-post/ ..... and not the one below it, saying, "Custom Structure  https://crm.[redacted].org" /%postname%/  -- changing that seems to have made all my pages start loading.
Answers.UserDisplayName: bhance
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-06T21:14:36.603Z
Answers.Text: maybe add this as your own Answer
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-06T07:03:53.660Z
Answers.LastActivityDate: 2020-10-06T07:03:53.660Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I'm in the middle of an install and stuck on a couple issues.</p>
  <p>I've been all over this StackExchange yet I can't seem to make basic CivicCRM links work in a couple of sections in the site I'm trying to deploy.</p>
  <ul>
  <li>CiviCRM 5.27.0 running on Wordpress 5.4.2 on top of Ubuntu</li>
  <li>Yes, my WP permalinks is set to &quot;post name&quot;</li>
  <li>yes, I have an .htaccess and it looks like this:</li>
  </ul>
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  &lt;/IfModule&gt;
  </code></pre>
  <ul>
  <li><p>yes, Apache is set up to obey that .htaccess for this site</p>
  </li>
  <li><p>yes, my Administer -&gt; System Settings -&gt; CMS Database Integration is set, and it's set to https://crm.[siteiamdeploying].org/civicrm/</p>
  </li>
  <li><p>yes https://crm.[siteiamdeploying].org/civicrm/ is a page that exists and loads</p>
  </li>
  </ul>
  <p>... yet when I do things like:</p>
  <p>a) Create an event, flesh out its details and see links like
  TEST: https://crm.[siteiamdeploying].org/event/register/?reset=1&amp;action=preview&amp;id=98
  LIVE: https://crm.[siteiamdeploying].org/civicrm/event/register/?reset=1&amp;id=98</p>
  <p>Or, for example, set up a DONATE page and then attempt to load that page by doing</p>
  <p>Civicrm-&gt; manage contribution pages -&gt; set up a contribution page -&gt;</p>
  <p>... then use that pages &quot;links -&gt; Live page&quot; or &quot;links -&gt; Test page&quot; links to try and load those pages, i.e.</p>
  <p>https://crm.[siteiamdeploying].org/civicrm/contribute/transact/?reset=1&amp;id=4</p>
  <p>... all I get on those links is the default WordPress &quot;not found&quot; page, i.e.</p>
  <p>&quot;Oops! That page can’t be found.
  It looks like nothing was found at this location. Maybe try a search?&quot;</p>
  <p>And I can see these  404'ing/ erroring out in the Apache access logs like this</p>
  <p>67.160.XX.XX - - [06/Oct/2020:02:15:54 +0000] &quot;GET /civicrm/contribute/transact/?reset=1&amp;id=4 HTTP/1.1&quot; 404 60939 &quot;-&quot; &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0&quot;</p>
  <p>Can somebody point me in the right direction and/or towards sensible debug logs or processes before I start throwing heavy things at my monitor?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-10-06T02:59:07.393Z
Comments.Text: I cross posted in https://chat.civicrm.org/civicrm/channels/wordpress. You may want to join there if you don't get a response here soon.
Comments.UserDisplayName: petednz - fuzion
Tags: <wordpress><civievent><civicontribute>
Title: Dead links on events, donations, pretty much anything I create
ThreadText: # Dead links on events, donations, pretty much anything I create
  
  (Asked by: username_0 on 2020-10-06)
  
  I'm in the middle of an install and stuck on a couple issues.
  I've been all over this StackExchange yet I can't seem to make basic CivicCRM links work in a couple of sections in the site I'm trying to deploy.
  
  CiviCRM 5.27.0 running on Wordpress 5.4.2 on top of Ubuntu
  Yes, my WP permalinks is set to "post name"
  yes, I have an .htaccess and it looks like this:
  
  
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  
  
  
  yes, Apache is set up to obey that .htaccess for this site
  
  yes, my Administer -> System Settings -> CMS Database Integration is set, and it's set to https://crm.[siteiamdeploying].org/civicrm/
  
  yes https://crm.[siteiamdeploying].org/civicrm/ is a page that exists and loads
  
  
  ... yet when I do things like:
  a) Create an event, flesh out its details and see links like
  TEST: https://crm.[siteiamdeploying].org/event/register/?reset=1&action=preview&id=98
  LIVE: https://crm.[siteiamdeploying].org/civicrm/event/register/?reset=1&id=98
  Or, for example, set up a DONATE page and then attempt to load that page by doing
  Civicrm-> manage contribution pages -> set up a contribution page ->
  ... then use that pages "links -> Live page" or "links -> Test page" links to try and load those pages, i.e.
  https://crm.[siteiamdeploying].org/civicrm/contribute/transact/?reset=1&id=4
  ... all I get on those links is the default WordPress "not found" page, i.e.
  "Oops! That page can’t be found.
  It looks like nothing was found at this location. Maybe try a search?"
  And I can see these  404'ing/ erroring out in the Apache access logs like this
  67.160.XX.XX - - [06/Oct/2020:02:15:54 +0000] "GET /civicrm/contribute/transact/?reset=1&id=4 HTTP/1.1" 404 60939 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0"
  Can somebody point me in the right direction and/or towards sensible debug logs or processes before I start throwing heavy things at my monitor?
  
  **Tags:** wordpress, civievent, civicontribute
  
  > **Comments:**
  > **username_1**: I cross posted in https://chat.civicrm.org/civicrm/channels/wordpress. You may want to join there if you don't get a response here soon.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2020-10-06. Score: 1
  
  Do you have CMS integration set in your system? You need to have default page or post in WordPress and have it set in CMS integration
  
  > **Comments:**
  > **username_3**: @username_0 In addition to this, try visiting your "Permalinks" settings page and saving again. This refreshes the WordPress Rewrite Rules.  
  > **username_0**: @pradeep yes, my Administer -> System Settings -> CMS Database Integration is set, and it's set to https://crm.[siteiamdeploying].org/civicrm/ and that page loads.  
  > **username_0**: I think I've solved this. All the documentation I was reading here was saying "Set permalinks to "postname". In Wordpress, I was choosing " Post name  https://crm.[redacted].org/sample-post/ ..... and not the one below it, saying, "Custom Structure  https://crm.[redacted].org" /%postname%/  -- changing that seems to have made all my pages start loading.  
  > **username_1**: maybe add this as your own Answer  
  
  ---
  
  