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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:38:35+00:00 2026-05-13T06:38:35+00:00

What are the standards for managing URL redirects if you base your URL’s off

  • 0

What are the standards for managing URL redirects if you base your URL’s off properties of the data that might change a few times, like the “title”?

I have a website with lots of images and I want to make the urls look like this:

http://www.mySite.com/images/132123/my-cool-image-title

Now say a bunch of people bookmark the image, and a week later I change it to:

http://www.mySite.com/images/132123/renamed-image-title

So now there has to be a redirect for the people that bookmarked the old one… Now lets say that happens on average 3 times per image. That means I’d have lots and lots of redirects to map. I’d have a database of redirects it seems.

What is best practice in this case, assuming I want to use pretty urls and not base it on some universally unique id, and that I’d like to reap as many benefits of SEO as possible?

  • 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-13T06:38:35+00:00Added an answer on May 13, 2026 at 6:38 am

    Well I don’t know what the downvote was about, this seems like a perfectly valid question to me.

    My recommendation would be that if you know in advance you will be changing the data, it probably shouldn’t be in the URL in the first place. If this is a requirement (perhaps its important for SEO or you are creating a blog or something, you have some choices:

    1. Forget the old URL and use only the new. Probably not a good way to make friends 😉
    2. Keep the old URL and accept the fact that the title and URL do not match now. This might be accomplished by each post having a slug field where the URL text is stored, separate to the post’s actual title.
    3. Keep the old URL and allow for new ones. A method for doing this might be to have a separate table which maps slugs to posts, each post having one or more slugs. That way, any number of changes are catered for.

    If possible changes and backwards compatibility are a requirement, I’d go with something like option 3. Its certainly better to have it built in to your app than have to manage growing .htaccess files full or URL rewrite rules or something.

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

Sidebar

Related Questions

Are there some standards that you consider to be so obvious that they would
I know that there are so many standards for writing code. And some policy
I have a few related questions about managing aligned memory blocks. Cross-platform answers would
I am developing a website that uses Facebook. Now for managing users I thought
I am managing a RESTful JSON data API, which is growing in scope. Currently,
Is there any library in C or C++ that helps with managing paths or
Is there some formal standards that do not allow one to use the ^
As that web-standards geek I am, I dislike the default <form runat=server> that surrounds
Is there a grails plugin or standard way of managing the created_by , created_on
Are standards like ISO 9241 Ergonomics of Human System Interaction of any relevance in

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.