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.

How can i get old url parameters to gravity forms as hidden field?

  1. muaddib77
    Member

    Hi,

    I'm trying to move my old new web site to wordpress. I liked gravity forms but i have a problem to moving wordpress. I have a contact form and try to get url paramters from my old web site adress to wordpress. i tried 301 redirection and .htaccess modification but i could'nt

    my old web site contact adress: http://www.site.com/index.php?module=contact&var1=somestring&var2=somestring&var3=somestring

    my new wordpress adress:www.site.com/contact/ (i'm using gravity forms in this page)

    regards.

    Posted 13 years ago on Tuesday December 28, 2010 | Permalink
  2. Were you able to get the 301 redirect to work properly and are just having trouble pre-populating fields? Or are you unable to get the redirect to redirect to the new page?

    Posted 13 years ago on Tuesday December 28, 2010 | Permalink
  3. muaddib77
    Member

    Dear Carl,

    I have little knowledge about .htaccess modification. I'm trying to redirect to new page with parameters but i can't do. It would be so kind if can help to solve this problem.
    But i can say that your plugin works perfect and provides great time-saving.

    Regards,

    Mehmet

    my .htaccess file codes are:

    Options +FollowSymlinks
    RewriteEngine On
    RewriteCond %{QUERY_STRING} myvar1=(.*)
    RewriteCond %{QUERY_STRING} myvar2=(.*)
    RewriteCond %{QUERY_STRING} myvar3=(.*)
    RewriteRule ^index.php?module=contact(.*) /contact/%1/%2/%3 [QSA]

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Posted 13 years ago on Tuesday December 28, 2010 | Permalink