Answers.Body: <p>I have the exact same problem. Did you find a solution?
  In outbound emailing, I found a workaround : I insert manually the missing &quot;?page_id=5&quot; in the URL, in civimail.
  But once a user register to an event online, or fill a profile form, the URL after completion is wrong and leads to HTTP 404 error because of the missing &quot;?page_id=5&quot;:</p>
  <p><a href="https://www.mydomain.org/&amp;civiwp=CiviCRM&amp;q=civicrm%2Fevent%2Finfo&amp;reset=1&amp;id=1" rel="nofollow noreferrer">https://www.mydomain.org/&amp;civiwp=CiviCRM&amp;q=civicrm%2Fevent%2Finfo&amp;reset=1&amp;id=1</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-08-17T10:59:16.397Z
Answers.LastActivityDate: 2022-08-17T10:59:16.397Z
Answers.UserDisplayName: stackexchange user
Body: <p>CiviEvent Widget shortcode will list event like this:
  <a href="https://i.sstatic.net/HOYZQ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/HOYZQ.png" alt="enter image description here" /></a></p>
  <p>However the &quot;Register Now&quot; link for the event is not correct. The url the widget provides is: mysite.com/&amp;civiwp=CiviCRM&amp;q=civicrm%2Fevent%2Fregister&amp;reset=1&amp;id=6</p>
  <p>The correct url should be: mysite.com/?page_id=5&amp;civiwp=CiviCRM&amp;q=civicrm%2Fevent%2Fregister&amp;reset=1&amp;id=6</p>
  <p>Any suggestions on why this is happening?
  Running: WP 5.9.1, CiviCRM 5.42.1</p>
  
Tags: <civievent>
Title: CiviEvent Widget: Link to register is broken
ThreadText: # CiviEvent Widget: Link to register is broken
  
  (Asked by: username_0 on 2022-03-03)
  
  CiviEvent Widget shortcode will list event like this:
  [![enter image description here](https://i.sstatic.net/HOYZQ.png)](https://i.sstatic.net/HOYZQ.png)
  
  However the "Register Now" link for the event is not correct. The url the widget provides is: mysite.com/&civiwp=CiviCRM&q=civicrm%2Fevent%2Fregister&reset=1&id=6
  
  The correct url should be: mysite.com/?page\_id=5&civiwp=CiviCRM&q=civicrm%2Fevent%2Fregister&reset=1&id=6
  
  Any suggestions on why this is happening?
  Running: WP 5.9.1, CiviCRM 5.42.1
  
  **Tags:** civievent
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-08-17. Score: 0
  
  I have the exact same problem. Did you find a solution?
  In outbound emailing, I found a workaround : I insert manually the missing "?page\_id=5" in the URL, in civimail.
  But once a user register to an event online, or fill a profile form, the URL after completion is wrong and leads to HTTP 404 error because of the missing "?page\_id=5":
  
  <https://www.mydomain.org/&civiwp=CiviCRM&q=civicrm%2Fevent%2Finfo&reset=1&id=1>
  
  
  ---
  
  