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 SEO and Google

  1. cmccrone
    Member

    I understand how to use the short codes for Dynamic Population but a little confused with URL Query String version. I have a site with many cities, each city has contact form for a different person. I want to use the same form for all pages.

    The short code version works AMAZING!! Heres the problem. People visit my directory site, fill out a form, it creates a post with their info, I need that post form to know to contact that person but gravity forms won't allow a short code within a short code :(

    EXAMPLE:
    [gravityform id="4" field_values="city=[types field="city-state"]"]
    --- will look like this ---
    [gravityform id="4" field_values="city=sandiego"]

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    So I'm thinking maybe the Query String could work?

    1 ) How does the url get displayed? In the actually address bar? On the page somewhere ? or?
    - So heres the example GF http://siteurl.com/form-url/?your_parameter=value

    2 ) Is it possible to not alter the URL and have the form on that page take an already existing word out of my untouched url? - Example: http://Service.com/San-Diego
    - If the url has SAN-DIEGO send the email to this person? I know how to do the actual emailing redirecting part. Just using it as an example.

    3 ) Going back to 1 ) for a second. If the ?your_parameter=value does have to appear in the browsers address bar, what happens when someone finds my page on google? How will that string appear in the link? Or do i have to add ?your_parameter=value in the permalink when editing the post?

    4 ) If i do have to add ?your_parameter=value to the posts permalink does it affect SEO?
    - My URLs are very clean for SEO reasons. EXAMPLE: Domain.com/service/city
    - I feel like this looks awful. EXAMPLE: Domain.com/service/city?your_parameter=value

    Pardon all the questions, trying to learn something new :)

    And thanks to everyone at Gravity Forms for making the hands down, best plugin by far, and I'm not just talking about contact form plugins. This plugin is so much fun and saves me SO much time.

    Posted 11 years ago on Monday August 13, 2012 | Permalink
  2. To clarify your information before the - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - you are using the Types plugin, is that correct? http://wordpress.org/extend/plugins/types/

    1. Query string, yes, that information will be displayed in the browser address bar.

    2. Yes, you can use the page the form is embedded in to pre-set some variables in your form. I'm not sure exactly how you tie together the location (URL slug) and the email address, but this is possible.

    3. URLs with query strings are indexed by search engines like Google. Yoast has a couple plugins that will take care of this and not allow indexing of the URLs with query strings. I use his SEO plugin and set a canonical URL, but he also has a Canonical URL plugin which stands alone.

    http://yoast.com/canonical-url-links/

    4. I won't get into that argument. All you can do is test, or just avoid the query string URLs being indexed altogether. I've seen people argue both ways about query strings in URLs.

    Please provide more information regarding #2 and we'll try to give you better advice.

    Posted 11 years ago on Sunday August 26, 2012 | Permalink