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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:18:18+00:00 2026-06-15T18:18:18+00:00

Following How to re-write timthumb.php image url? I was able to create the redirection

  • 0

Following How to re-write timthumb.php image url?
I was able to create the redirection in my nginx web server.

However, I would like to keep the original url.

So if a visitor get the url http://mydomain.com/thumb/120/120/image.jpg it won’t redirect the browser to http://mydomain.com/timthumb.php/?s=image.jpg&h=120&w=120 but instead the image will be displayed under the same link.

Is this kind of (server internal) redirection possible?
Thank you…

  • 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-15T18:18:20+00:00Added an answer on June 15, 2026 at 6:18 pm

    Cannot test it on my server, but it have to be more or less equal to such code in your site conf for nginx. Don’t forget to restart nginx after changing config.

    Location /thumb/ {
        rewrite ^/thumb/(\d+)/(\d+)/(.*)\..*$ /timthumb.php/?s=$3&h=$2&w=$1 last;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to upload an image in Zend-framework. In Application_Form_Test.php I write following code....
In my .htaccess file i have the following re-write rule RewriteRule ^([a-z]*)$ work.php?album=$1 [L]
In magento1.7, just write following lines in app\code\core\Mage\Wishlist\Helper\Data.php (Data.php) file public function getpdf() {
I use the following to write jpgImage to a PictureBox.Image. var jpgImage = new
How to write following statement in c using switch statement in c int i
I wanted to write following query through codeigniter's db helper class, guide me plz
I have the following assignment: Write a complete 8086 program to perform the calculator
Sorry for the ambiguous title but I'm doing the following to write a simple
I write the following query: select id, (select NameEn from [Campaign] where id=CampaignId) as
I write the following code all the time to handle when the enter key

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.