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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:17:58+00:00 2026-06-14T00:17:58+00:00

Not fully sure if this is possible or not, but Ive been tasked with

  • 0

Not fully sure if this is possible or not, but Ive been tasked with rebuilding a handful of sites that, their internal workings is a mystery as to how they are still functional. Raised before MVC, CMS, etc were even really known about. In the days of PHP 4 on the cusp of 3, if that gives you any idea. So.. I have a mess, a big on, that I am trying to rebuild using a MVC, which thats not really the problem.

The problem is, is the 20,000 or so files and images that have been stored in articles, and various other things on this site over the ages. So there is sites every where that have hotlinked images and other files, not to mention the hardcoded urls in the articles, which will eventually be converted correctly but theres so many.

Anyway. Bottom line is I wanna know if theres a means of mean taking failed image and file requests and mapping them to a new folder that will have either all these images or files in them. Is this something htaccess can do alone or is this something I will have to come up with a means of serverside script and htaccess? or is it the worst case where I am going to have to take the hit for files not found, and route them all to a single error page, saying the files have been moved?

Not sure what would be a good course of action for this problem so I havent tried anything yet, kinda trying to feel it out and see where I have to go from there.

  • 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-14T00:17:59+00:00Added an answer on June 14, 2026 at 12:17 am

    You can use redirection for all image extensions to specific folder:

    RewriteRule (.*)\.(gif|jpg|png)$ /my/new/folder/$1.$2 [R,L]
    

    Hope this helps…

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

Sidebar

Related Questions

I'm not sure if this is possible in Spring MVC 3.0, but I'm trying
Not sure if this is possible with a regular expression replace command, but I
I'm not even sure if this is possible but thought I'd ask anyway. Sorry
The title might not explain my problem fully but I wasn't sure how to
I'm not sure if this is possible in one line (i.e., without writing a
Possible Duplicate: What are the reasons why Map.get(Object key) is not (fully) generic This
I'm pretty sure that this has to do with my setup but let me
Not sure if what I want to do is possible, but what I am
Not sure if what I need is possible. I have a container (JPanel) that
I'm not sure if this is the right place for my question, but i

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.