301 Redirects: Changing long query string GETs to POSTs

Discussion in 'Search Engine Optimization' started by RZ-1, Nov 17, 2009.

  1. #1
    I think I have the solution to duplicate urls.

    www.mydomain.com/display_info.php?product_id=1235&cat=new&page=2

    I have 3 solutions for you for 301 redirects.

    Solution 1 - Get 2 Post
    Return a 301 redirect that forces the use to perform a post
    put the extra variables into the post request


    Solution 2 - Cookie Time
    Store the variables as client side cookies
    Do a 301 redirect
    Have the new response page read the variables from the cookies


    Solution 3 - Database Time
    Build a table in the database to track the variables and tie it to the session_id
    Do a 301 redirect
    Have the response page match the session_id to the database table to read the original request variables

    :banana:
     
    RZ-1, Nov 17, 2009 IP