Answers.Body: <p>You can find <a href="https://civicrm.stackexchange.com/questions/87/how-do-i-change-the-default-urls-to-contribution-or-event-registration-pages">further info here</a>, but I'd recommend setting up a Redirect (using <a href="https://www.drupal.org/project/redirect" rel="nofollow noreferrer">this module</a>) and using that URL in the menu. For example, the redirect URL could be <strong>member/search</strong> and then it redirects to <strong>civicrm/member/search&amp;force=1&amp;qfKey=0&amp;reset=1</strong>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-18T14:41:58.973Z
Answers.LastActivityDate: 2015-05-18T14:41:58.973Z
Answers.LastEditDate: 2017-04-13T12:53:13.017Z
Answers.UserDisplayName: Laryn
Answers.Body: <p>You could also use "/civicrm/member/search&amp;force=1&amp;qfKey=0&amp;reset=1" in the link? That should work too.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-12T08:29:21.053Z
Answers.Text: I find that when I enter that into the path I receive the following error - "The path '/civicrm/member/search&force=1&qfKey=0&reset=1' is either invalid or you do not have access to it". While Laryn's solution works as desired. Thanks Parvez.
Answers.UserDisplayName: CuriousGeorge
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-18T16:46:52.037Z
Answers.LastActivityDate: 2015-05-18T16:46:52.037Z
Answers.UserDisplayName: Parvez Saleh
Body: <p>How do you add a CiviCRM query link such as:</p>
  
  <pre><code>index.php?q=civicrm/member/search&amp;force=1&amp;qfKey=0&amp;reset=1
  </code></pre>
  
  <p>Into a Drupal main menu with Clean URLs enabled?</p>
  
  <p>With Clean URLs enabled, Drupal will strip out the <code>?q=</code>, breaking the link.</p>
  
  <p>Desired outcome:
  Drupal main menu.
  Menu item "Members".
  URL to "<code>civicrm/member/search&amp;force=1&amp;qfKey=0&amp;reset=1</code>"</p>
  
Tags: <drupal><menu><global-menu>
Title: How to insert a CiviCRM query link into Drupal main menu with Clean URLs enabled?
ThreadText: # How to insert a CiviCRM query link into Drupal main menu with Clean URLs enabled?
  
  (Asked by: username_0 on 2015-05-18)
  
  How do you add a CiviCRM query link such as:
  
  ```
  index.php?q=civicrm/member/search&force=1&qfKey=0&reset=1
  
  ```
  
  Into a Drupal main menu with Clean URLs enabled?
  
  With Clean URLs enabled, Drupal will strip out the `?q=`, breaking the link.
  
  Desired outcome:
  Drupal main menu.
  Menu item "Members".
  URL to "`civicrm/member/search&force=1&qfKey=0&reset=1`"
  
  **Tags:** drupal, menu, global-menu
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2015-05-18. Score: 2 | Accepted answer
  
  You can find [further info here](https://civicrm.stackexchange.com/questions/87/how-do-i-change-the-default-urls-to-contribution-or-event-registration-pages), but I'd recommend setting up a Redirect (using [this module](https://www.drupal.org/project/redirect)) and using that URL in the menu. For example, the redirect URL could be **member/search** and then it redirects to **civicrm/member/search&force=1&qfKey=0&reset=1**.
  
  
  ---
  
  ### Answer by username_2 on 2015-05-18. Score: 2
  
  You could also use "/civicrm/member/search&force=1&qfKey=0&reset=1" in the link? That should work too.
  
  > **Comments:**
  > **username_0**: I find that when I enter that into the path I receive the following error - "The path '/civicrm/member/search&force=1&qfKey=0&reset=1' is either invalid or you do not have access to it". While username_1's solution works as desired. Thanks username_2.  
  
  ---
  
  