Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options +FollowSymlinks -MultiViews
- RewriteEngine On
- RewriteBase /
- RewriteCond %{REQUEST_URI} ^/(.*)?/([^.]+).jpg [NC]
- RewriteRule .* /%2.jpg_640x640.jpg [R,L,NC]
- RewriteRule ^(.+).jpg$ /$1.jpg_640x640.jpg [L,NC,R=301]
- https://www.example.com/image.jpg_640x640.jpg_640x640.jpg_640x640.jpg_640x640.jpg_640x640.jpg_640x640.jpg_640x640.jpg_640x640.jpg_640x640.jpg_640x640.jpg_640x640.jpg_640x640.jpg_640x640.jpg_640x640.jpg_640x640.jpg_640x640.jpg_640x640.jpg_640x640.jpg_640x640.jpg
Add Comment
Please, Sign In to add comment