SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Basic Form

  1. #1
    SitePoint Zealot
    Join Date
    Dec 2010
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Basic Form

    Hello! Warning NOOBIE.

    I want to create a very basic form for my shopify site. It's just a dropdown of the US states and once you select and submit, you're redirected to a new page according to your state.

    Here is the page:

    http://www.vivomasks.com/pages/masqu...event-planners

    The only state I have 'working' is New York. But if you select that state, it redirects the user to:

    http://www.vivomasks.com/pages/?stat...event-planners

    And returns a 404 because actual working url is http://www.vivomasks.com/pages/new-y...event-planners

    Any easy fix for this? It's only HTML now, do I need php to make this work?

  2. #2
    From Italy with love silver trophybronze trophy
    guido2004's Avatar
    Join Date
    Sep 2004
    Posts
    9,399
    Mentioned
    147 Post(s)
    Tagged
    4 Thread(s)
    I think it can be done with some url rewrite rules in the htaccess file.
    I'm going to move your question in the Server Configuration, Apache & URL Rewriting forum. Let's see what the experts there have to say.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •