Most CiviCRM URLs have reset=1
in the query string.
E.g. http://[yoursite.com]/civicrm?reset=1
What does this do and does it matter if you don't include it?
I only ask because URLs look nicer without it.
CiviCRM Stack Exchange is a question and answer site for administrators and users of the CiviCRM Constituent Relationship Management software. It only takes a minute to sign up.
Sign up to join this communityMost CiviCRM URLs have reset=1
in the query string.
E.g. http://[yoursite.com]/civicrm?reset=1
What does this do and does it matter if you don't include it?
I only ask because URLs look nicer without it.
reset=1
clears the current local session variables as well as the smarty cache.
For instance, if you have a form that is getting reused, reset=1
will clear the form's fields (whereas, without it, the form may contain values carried over from it's prior invocation).
If you don't use it, and it's a public, anonymous facing page, I suspect you may get away with it. Try it and see how it works for you.
If the parameter is necessary, you could add it as a redirect to your installation. For instance, in your .htaccess file include something like:
Redirect 301 /contribute https://[yoursite.com]/civicrm/contribute/transact?reset=1&id=5
Which would allow https://[yoursite.com]/contribute
as a valid link to the ultimate contribution page.
Redirect 301 /contribute https://watershedmg.org/civicrm/contribute/transact?reset=1&id=5