CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Profile Signup Form Redirection (Wordpress)
Pages: [1]

Author Topic: Profile Signup Form Redirection (Wordpress)  (Read 584 times)

Gaia

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
    • MATTERmídia Marketing Digital
  • CiviCRM version: 4.2
  • CMS version: Wordpress 3.4.x
  • MySQL version: 5.1.x
  • PHP version: 5.3.x
Profile Signup Form Redirection (Wordpress)
August 17, 2012, 09:34:18 am
I created a dummy, blank page to host public facing civicrm content. This page URL is /civicrm/.

To display a user signup form I redirect from, for example, /register/ to /civicrm/?page=CiviCRM&q=civicrm/profile/create&reset=1&gid=1
To display a search page, for example, /search/ to /civicrm/?page=CiviCRM&q=civicrm/profile/search (or whatever the correct action is)

In the profile form gid=1 I have a redirect  URL set to /thank-you/ and a cancel redirect URL set to /contact-us/.

Here is my problem: if the user clicks SAVE on an empty form the user is redirected (with all the proper warnings about empty fields) to /?page=CiviCRM&q=civicrm/profile/create&reset=1&gid=1. This is my site's home page. The template is not configured to host a CiviCRM form here. It doesnt look right.

The question: how do I set CiviCRM base URL to be /civicrm/ so this doesnt happen anymore? Or is there a different solution that will essentially accomplish the same thing (keep CiviCRM content inside the WP page designed to host CiviCRM content)

Thanks
"My country is the world, and my religion is to do good" - Thomas Paine

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Profile Signup Form Redirection (Wordpress)

This forum was archived on 2017-11-26.