Answers.Body: <p>Drp, Welcome to stackexchange!</p>
  
  <p>I guess userdata link is the one you have created through extension/plugin and is also registered using xml and have menu rebuild. When menu link is not registered in CiviCRM it will default redirect to CiviCRM dashboard page. </p>
  
  <p>If you haven't registered than</p>
  
  <ol>
  <li>Register menu link using <a href="https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_xmlMenu/" rel="nofollow noreferrer">hook_civicrm_xmlMenu</a>.</li>
  <li>Rebuild menu by running /civicrm/menu/rebuild?reset=1 or Navigate to CiviCRM >> Administer >> System Settings >> Cleanup Caches and Update Paths >> Cleanup Caches.</li>
  </ol>
  
  <p>HTH</p>
  
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-02T14:15:15.587Z
Answers.LastActivityDate: 2018-11-02T14:15:15.587Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I've installed wordpress Version 4.9.8 with civiCRM.</p>
  
  <p>Now i have create one new menu name is "userdata"</p>
  
  <p><a href="https://i.sstatic.net/U5Vil.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/U5Vil.png" alt="enter image description here"></a></p>
  
  <p>But when i click on menu "Userdata" it will redirect to the dashboard.  Instead of dashboard it will show userdata add form.</p>
  
Tags: <wordpress><php><civicrm-buildkit>
Title: Redirect to dashboard instead of redirect to add form
ThreadText: # Redirect to dashboard instead of redirect to add form
  
  (Asked by: username_0 on 2018-11-02)
  
  I've installed wordpress Version 4.9.8 with civiCRM.
  
  Now i have create one new menu name is "userdata"
  
  [![enter image description here](https://i.sstatic.net/U5Vil.png)](https://i.sstatic.net/U5Vil.png)
  
  But when i click on menu "Userdata" it will redirect to the dashboard. Instead of dashboard it will show userdata add form.
  
  **Tags:** wordpress, php, civicrm-buildkit
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-11-02. Score: 2 | Accepted answer
  
  Drp, Welcome to stackexchange!
  
  I guess userdata link is the one you have created through extension/plugin and is also registered using xml and have menu rebuild. When menu link is not registered in CiviCRM it will default redirect to CiviCRM dashboard page.
  
  If you haven't registered than
  
  1. Register menu link using [hook\_civicrm\_xmlMenu](https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_xmlMenu/).
  2. Rebuild menu by running /civicrm/menu/rebuild?reset=1 or Navigate to CiviCRM >> Administer >> System Settings >> Cleanup Caches and Update Paths >> Cleanup Caches.
  
  HTH
  
  Pradeep
  
  
  ---
  
  