Answers.Body: <p>You'll need to upgrade CiviCRM. WP 5.5 made changes to how URL paths are handled which required changes in CiviCRM. I believe those changes were introduced in 5.26. So you will need to upgrade to at least that version to be compatible with WordPress 5.5+.</p>
  <p>There was a blog post a while back with more details:
  <a href="https://civicrm.org/blog/kcristiano/civicrm-526-and-wordpress-important-notice" rel="nofollow noreferrer">https://civicrm.org/blog/kcristiano/civicrm-526-and-wordpress-important-notice</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-06T16:58:27.873Z
Answers.Text: Wow-- this appears to be exactly the information I needed. Thanks! I will test and confirm the results.
Answers.UserDisplayName: Oliver Hoffmann
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-06T16:17:44.250Z
Answers.LastActivityDate: 2020-10-06T16:17:44.250Z
Answers.UserDisplayName: lcdservices
Body: <p>I'm running a Wordpress 5.5.1 site with a custom theme that was working fine until a few months ago. With no changes to the site other than plug-in and Wordpress updates, the CiviCRM-generated pages no longer work in Live or test modes, and my site links are briefly displayed before being rewritten to short links that result in a blank template. CiviCRM is version 5.14.0.</p>
  <p>Here's an example from the live site:<a href="https://cantusnovus.org/support-us/" rel="nofollow noreferrer">https://cantusnovus.org/support-us/</a></p>
  <p>On this page is an Orange button that links to: <a href="https://cantusnovus.org/civicrm/contribute/transact/?reset=1&amp;id=4" rel="nofollow noreferrer">https://cantusnovus.org/civicrm/contribute/transact/?reset=1&amp;id=4</a></p>
  <p>When that is clicked, the link is rewritten as: <a href="https://cantusnovus.org/civicrm/?reset=1&amp;id=4" rel="nofollow noreferrer">https://cantusnovus.org/civicrm/?reset=1&amp;id=4</a></p>
  <p>To my knowledge, nothing has changed in the hosting environment or Wordpress templates or CiviCRM configuration. Here's what I've tried:</p>
  <ul>
  <li>I removed a redirection plugin I was using (no effect)</li>
  <li>I disabled/removed all plugins not directly needed by CiviCRM just to look for interference (no effect)</li>
  <li>I switched themes to test if something in my custom theme was interfering with the display (no effect)</li>
  <li>I checked (and simplified) .htaccess file to just standard Wordpress setup (no effect)</li>
  </ul>
  <p>While CiviCRM works from the backend and I can access/edit forms, I cannot Preview them. I also can't see (preview) previous mailings, etc. I simply can't display anything in live/preview mode.</p>
  <p>Any ideas would be much appreciated!</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-10-06T14:46:15.373Z
Comments.Text: Can you state your CiviCRM version please?
Comments.UserDisplayName: Christian Wach
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-10-06T14:51:01.067Z
Comments.Text: CiviCRM 5.14.0 @Christian Wach
Comments.UserDisplayName: Oliver Hoffmann
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-10-06T16:20:01.700Z
Comments.Text: Thanks - in which case the answer from @lcdservices is correct.
Comments.UserDisplayName: Christian Wach
Tags: <wordpress><forms><display>
Title: Why are my CiviCRM queries rewritten to short links that do not work?
ThreadText: # Why are my CiviCRM queries rewritten to short links that do not work?
  
  (Asked by: username_0 on 2020-10-06)
  
  I'm running a Wordpress 5.5.1 site with a custom theme that was working fine until a few months ago. With no changes to the site other than plug-in and Wordpress updates, the CiviCRM-generated pages no longer work in Live or test modes, and my site links are briefly displayed before being rewritten to short links that result in a blank template. CiviCRM is version 5.14.0.
  
  Here's an example from the live site:<https://cantusnovus.org/support-us/>
  
  On this page is an Orange button that links to: <https://cantusnovus.org/civicrm/contribute/transact/?reset=1&id=4>
  
  When that is clicked, the link is rewritten as: <https://cantusnovus.org/civicrm/?reset=1&id=4>
  
  To my knowledge, nothing has changed in the hosting environment or Wordpress templates or CiviCRM configuration. Here's what I've tried:
  
  * I removed a redirection plugin I was using (no effect)
  * I disabled/removed all plugins not directly needed by CiviCRM just to look for interference (no effect)
  * I switched themes to test if something in my custom theme was interfering with the display (no effect)
  * I checked (and simplified) .htaccess file to just standard Wordpress setup (no effect)
  
  While CiviCRM works from the backend and I can access/edit forms, I cannot Preview them. I also can't see (preview) previous mailings, etc. I simply can't display anything in live/preview mode.
  
  Any ideas would be much appreciated!
  
  **Tags:** wordpress, forms, display
  
  > **Comments:**
  > **username_1**: Can you state your CiviCRM version please?  
  > **username_0**: CiviCRM 5.14.0 @username_1  
  > **username_1**: Thanks - in which case the answer from @username_2 is correct.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2020-10-06. Score: 3
  
  You'll need to upgrade CiviCRM. WP 5.5 made changes to how URL paths are handled which required changes in CiviCRM. I believe those changes were introduced in 5.26. So you will need to upgrade to at least that version to be compatible with WordPress 5.5+.
  
  There was a blog post a while back with more details:
  <https://civicrm.org/blog/kcristiano/civicrm-526-and-wordpress-important-notice>
  
  > **Comments:**
  > **username_0**: Wow-- this appears to be exactly the information I needed. Thanks! I will test and confirm the results.  
  
  ---
  
  