Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8911061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:50:48+00:00 2026-06-15T03:50:48+00:00

I have implemented SEO URLs using Apache 301 redirects to a ‘redirect.cfm’ in the

  • 0

I have implemented SEO URLs using Apache 301 redirects to a ‘redirect.cfm’ in the root of the website which handles all URL building and content delivering.

Post data is lost during a 301 redirect.

Unable to find a solution so far, have tried excluding post method from rewrites – worst case scenario we could use the old type URLs for post methods.

Is there something that can be done?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T03:50:49+00:00Added an answer on June 15, 2026 at 3:50 am

    Update circa 2021
    The original answer here was written before 307 status code redirect worked consistently across browsers. As per Hashbrown’s answer below, the 307 status code should be used.

    Old Answer
    POST data is discarded on redirect as a client will perform a GET request to the URL specified by the 301. Period.

    The only option is to convert the POST parameters to GET parameters and tack them onto the end of the URL you’re redirecting to. This cannot be done in a .htaccess file rewrite.

    One option is to catch POST requests to the url to be redirected and pass it off to a page to handle the redirect. You’d need to do the transposition of the parameters in code then issue the redirect header with the parameter appended new url that way.

    Update: As pointed out in the comments to this answer, if you do redirect to another URL specifying POST parameters and that URL is also accessed without paramters (or the params are variable), you should specify a link to the canonical URL for the page.

    Say the POST form redirects transposed to the following GET resource:

       http://www.example.com/finalpage.php?form_data_1=123&form_data_2=666
    

    You would add this link record to the head section of the page:

       <link rel="canonical" href="http://www.example.com/finalpage.php" />
    

    This would ensure all SEO value would be given to http://www.example.com/finalpage.php and avoid possible issues with duplicate content.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have implemented clean URLs using the following in my .htaccess RewriteEngine on RewriteCond
I have implemented a very basic sign up using email address+name, although I would
I'm using the friendly_id plugin to generate SEO-friendly URLS for some of my models.
I have numerous index.php scripts using SEO-friendly arg format like example.com/path/to/index.php/opt/arg and would like
I want my web-site to be SEO-ed and for which I will be using
We have implemented a simple chat room feature in Rails using Simple Ajax updates.
I have implemented a custom designer class which inherits from DocumentDesigner. The standard Form
I have implemented the ThickBox Plugin and I am retrieving the content from using
I have implemented java.sql.SQLData in order to bind UDT objects to prepared statements using
Quick question. I have a client with an HTML based website which ranks very,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.