Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

332
Views
htaccess wildcard redirect (folder to subfolder)

.htaccess redirect entire directory to subfolder (folders, subfolders and files to different subfolder)

Trying to redirect quarantine.country/coronavirus/svg to https://quarantine.country/coronavirus/images/svg and while it works fine with the mentioned url (with or without the trailing slash /) it won't redirect https://quarantine.country/coronavirus/svg/coronavirus.svg

RewriteEngine on

RewriteOptions inherit
RewriteCond %{HTTP_HOST} ^quarantine\.country$ [OR]
RewriteCond %{HTTP_HOST} ^www\.quarantine\.country$
RewriteRule ^coronavirus\/svg\/?(.*)$ "https\:\/\/quarantine\.country\/coronavirus\/images\/svg\/$1" [R=301,L]

*since this is a repeating mistake, please explain what am I doing wrong here

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!