HTACCESS - Redirect all of a certain file type


/ Published in: Apache
Save to your folder(s)



Copy this code and paste it in your HTML
  1. RedirectMatch 301 (.*)\.asp$ http://www.domain.com/newpage.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.