.htaccess redirect directory to a single page
snippet in htaccess

.htaccess redirect directory to a single page

user5510

RewriteEngine on
RewriteRule ^blog/(.+) error/index.php [L,R]