Heroku App to Redirect an Old Domain to a New One

Here is a simple Apache/PHP heroku app using mod_rewrite to do 301 redirect an old domain to a new one:
You can edit the .htaccess file inside of the web/ folder to specify the old domain and the new domain to redirect to.


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>