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

  • Home
  • SEARCH
  • 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 136971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T07:01:58+00:00 2026-05-11T07:01:58+00:00

Currently my web site shows the same data if people go to domain.com or

  • 0

Currently my web site shows the same data if people go to domain.com or http://www.domain.com.

I would like to set up a redirect so all requests to domain.com will get sent onto http://www.domain.com. So a user who goes to domain.com will get redirected to http://www.domain.com. Just like what happens if you go to http://amazon.com/?a=b

I don’t want to lose or corrupt any GET or POST data that is sent in the domain.com request.

What is the best way to do this? Should I use a 301 redirect? Will this cause the user’s browser to re-send GET/POST data to the http://www.domain.com URL?

[EDIT] Ok, Zaagmans says redirecting POST transparently to the user is not possible. So lets ignore POST for the moment. How should I redirect with just query string data?

  • 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. 2026-05-11T07:01:58+00:00Added an answer on May 11, 2026 at 7:01 am

    The Redirecting Post Requests article explains this in detail.
    A (possible) downside of the proposed 307 redirect is the fact that the browser will alert the user and present an option to proceed or to cancel the request.

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

Sidebar

Related Questions

I am currently developing a web application that receives data from an on-site database.
I currently have a web site where users can select a custom theme. After
I currently developed a web site that my user must login to web site.
I am currently building a web site and I just implemented SqlCacheDependency using LinqToSQL
Here is my scenario: I am currently upgrading a web site I maintain from
With a customer web site we currently experiences performance problems. While analyzing the problem
I'm currently working on an intracompany web site which will be viewed on cell
I'm currently working on an ASP.NET web-site. In one of my pages, I had
I currently use SQL Server to store products in a large catalog web site.
I'm working on a new web site that currently is configured as a full

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.