htaccess redirect doesnt work. Need help with modifying code..
-
I’m with SiteGround (Apache servers) and cant get the webp htaccess mod redirect to work. Siteground have said:
Thank you for your patience.
The files are indeed loaded via .jpg extension but internally they are using the .webp format which you set. You can verify this from the response headers of the request.
https://screencast.com/t/SrjdTkFod
This is normal behavior as your mod_rewrite code in the .htaccess file does not include redirect (through the “R” flag) and the images remain with the same URL. If you would like to have the same redirected, you should consider updating your .htaccess code.
Does anyone know how to update the htaccess so it redirects through the R flag?
The topic ‘htaccess redirect doesnt work. Need help with modifying code..’ is closed to new replies.