Skip to content

Instantly share code, notes, and snippets.



Created Jun 22, 2020
What would you like to do?
.htaccess regels om afbeeldingen die niet meer bestaan een 410 Gone status te geven (in plaats van 404 Not Found)
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase //
RewriteCond %{REQUEST_URI} ^/wp-content/uploads
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .*\.(jpe?g|gif|bmp|png)$ /index.php [L,R=410]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.