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 7603125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T23:35:21+00:00 2026-05-30T23:35:21+00:00

I am working on an eCommerce site that passes product ids in the query

  • 0

I am working on an eCommerce site that passes product ids in the query string. I just had to fix an issue where the product page didn’t check the status of the product (live or archived) so if the user had a direct link e.g. a search result, the product would still display even if it had a status of “Archived”.

My simple fix was to Response.Redirect("~/Products/Default.aspx"); if the status was not “Live”.

Should I use RedirectPermanent in this situation even if it is possible the product may come back online?

  • 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-05-30T23:35:22+00:00Added an answer on May 30, 2026 at 11:35 pm

    I found that as a general rule, I only do 301 redirects whenever an actual resource/page has moved, for example when reorganizing content on a web site.

    It’s almost impossible to correct a 301 made by error – browsers tend to remember 301 redirects, therefore an url which is permanently redirected cannot be used again.

    In your particular case, maybe a product was archived by mistake? All the visitors who visited the product’s page and got 301 redirected won’t be able to see the product’s page, even if the product gets un-archived.

    As to search engines, you may display a different content for archived products, and you may want to appear it differently in your sitemap.xml (different priority, or not at all), or you may exclude it from being indexed (robots.txt or by using a robots meta).

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

Sidebar

Related Questions

I'm building a ecommerce site with django and i'm working on the page that
Working on an ecommerce site which will be integrated with a 3rd party vendor--that
I am working on a checkout page for an ecommerce site. In said site,
I am working on Magento eCommerce site and I am running into a problem
I am looking at writing an ecommerce platform just for working practice and a
I'm working on a regional ecommerce website (ie. usa, uk, china) that offers a
I am working with an existing bespoke ecommerce platform which until recently had no
I am working on a ecommerce site built on the top of Nop Commerce
I'm working on a basic eCommerce site and I am looking for some help
I am currently building an ecommerce site with PHP/MySQL. Recently, I have been working

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.