I would like to redirect example.com/image.png?example, only if the ?example query string is present, to example.com/folder/folder/folder/new-image.png, and then for ?example to be removed from the end of the final URL.

I am using LiteSpeed .htaccess and am not sure how to do this.

  • What have you tried? What specifically are you stuck on? You should at least attempt a solution (especially since you have posted several related questions on here and StackOverflow) - this could highlight a key point of misunderstanding that the answer could focus on.
    – MrWhite
    Jul 31 at 0:31
  • I have looked everywhere. I've found similar questions, but not the same as mine. Jul 31 at 2:44


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.