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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:53:00+00:00 2026-06-11T12:53:00+00:00

In our application we do url rewrite for all the pages. For example you

  • 0

In our application we do url rewrite for all the pages. For example you have . Recently we changed all the urls to be /adults/about/ or /kids/about/ … Now all the previous urls like “/about/” will give 404. Is there a way to add 301 redirect and force all the pages like “/about/” to go to “/adults/about/”. I found a way but I am not sure it is a good one or it will help in SEO. What I did is added a url rewrite for the “/about/” like the “/adults/about/” and then in the page_Load checked if there is no “adults” or “kids” in the url then redirect to “/adults/about/”. The adults and kids are not folders. They just help in differentiating the nav menu.

Sorry if the title is not clear.

  • 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-11T12:53:01+00:00Added an answer on June 11, 2026 at 12:53 pm

    Check the URL in Application_BeginRequest in your global.asax file. If the HttpContext.Current.Request.Url matches an old page, do an 301 redirect to the corresponding new page.

    You can check this through Regular Expressions for example.

    Here is explained how to do a proper 301 redirect.

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

Sidebar

Related Questions

We have a java web application running on Glassfish 2.1. We recently changed internet
Our application is a Java-GWT application that uses Guice-Persist and Guice-Servlet extensively. We have
Our application has many controls that are created dynamically. For example, a navigation pane
Our current web application url reveals the class package structure to the end user.
Our application is JSF , hibernate & Spring. Currently the url is in following
We have completed 95% of our application. We want to add additional argument mode=1
Our application defines a URL scheme whose resolution is context-sensitive: The content of the
We are using three divs in our application. Header Middle portion Footer Url of
in our application we have some kind of online help. It works really simple:
In our application, we have certain scenarios where we'd like to perform a redirect

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.