PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Query string without the passing a leading question mark.

  1. mharding7va
    Member

    I need to pass data without the leading question mark (url/?datastring). I am asking the user to enter a subdirectory, then append that subdirectory to the leading URL.

    Example: http://www.website.com/data_string NOT http://www.website.com/?data_string

    Possible? How?

    Posted 12 years ago on Friday January 13, 2012 | Permalink
  2. You can use the merge tag in the URL area of the redirect, and NOT check the "query string" checkbox below. So, your URL might look like http://www.website.com/{Directory:1}

    The only tricky part is getting the proper format and name for your subdirectory field, since there is no drop down here. I would check the box to use the query string, so you can use the drop down and insert a merge tag, so you have the exact syntax. Then, copy that, paste into the URL area, then uncheck the box. That worked for me.

    You might need to be concerned with case-sensitivity for URLs based on your web server, and how the information is being submitted to you.

    Let us know if that works for you.

    Posted 12 years ago on Saturday January 14, 2012 | Permalink
  3. mharding7va
    Member

    Putting the merge tag in the URL area and unchecking the query string worked...almost. Now the url is passed as http://www.website.com/directory? with the question mark at the end instead of the beginning.

    Advise.

    Posted 12 years ago on Sunday January 15, 2012 | Permalink

This topic has been resolved and has been closed to new replies.