foxnewsnetwork / American-Lang220

First in a series of English classes
1 stars 0 forks source link

Setup heroku redirects #18

Closed foxnewsnetwork closed 12 years ago

foxnewsnetwork commented 12 years ago

So we talked about setting up ingidio.com/manga , ingidio.com/videos, ingidio.com/games, ingidio.com/porn for the respective signup pages for the respective parties, so let's set this up. Create the pages for manga, videos, etc. on the main ingidio site, but have them do a redirect to the heroku site that actually hosts them

For instance, http://cold-frost-9554.heroku.com right now holds the manga page.

SpinnakerSix commented 12 years ago

okay this is done manually in American-Lit-400 by changed in the redirections function in the pages controller. I'm trying to make it programmatically possible.

Ingidio.com/manga should now redirect to cold-frost-9554.heroku.com

SpinnakerSix commented 12 years ago

Redirection speed is also a pain in the ass right now. So slow that i thought my browser crashed.

This can be fixed by pulling American-Lit-400 and pushing it up again onto heroku. You should see the Procfile which automatically starts the thin server in heroku which should increase rendering speed. InGidio.com is now running on this.

SpinnakerSix commented 12 years ago

this is now done programmatically at Ingidio/settings

check it out and add as many new redirects as you want.