I ran into the same problem (SEO and trailing slashes), and wrote a quick how to on how to remove trailing slashes on Heroku rails apps, using rack-rewrite: http://nanceskitchen.com/2010/05/19/seo-heroku-ruby-on-rails-and-removing-those-darn-trailing-slashes/
On Apr 12, 12:46 pm, Matt Wright <[email protected]> wrote: > Thanks for the feedback guys. I think rack-rewrite is what I'm > looking for. Here's the github link if anyone needs it: > > http://github.com/jtrupiano/rack-rewrite > > And Matthew, I don't really care so much about SEO really, it's more > that I want consistent URLs so my stats are cleaner for my own usage. > > On Apr 6, 3:19 pm, Pius Uzamere <[email protected]> wrote: > > > > > rack-rewrite > > > On Tue, Apr 6, 2010 at 5:57 PM, Matthew A. Brown > > <[email protected]>wrote: > > > > I'm guessing your only option here is to do it from within your > > > application itself. Also, I'm guessing it's pretty unlikely that any > > > of that stuff has any effect on search engine rankings in this day and > > > age. > > > > On Sun, Apr 4, 2010 at 04:15, Matt Wright <[email protected]> wrote: > > > > I'm wondering if there's any way to set up URL rewriting on Heroku. > > > > I'm used to doing this on Apache servers via htaccess files, but as I > > > > understand it Heroku uses nginx. I'm unsure of where rewriting might > > > > take place on nginix, and whether Heroku clients even have access to > > > > this area. > > > > > I'm looking to do some simple SEO-oriented tasks such as redirecting > > > > naked URLs to www.* and enforcing atrailingslashon all URLs. > > > > > Thanks for any help, > > > > Matt > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups > > > "Heroku" group. > > > > To post to this group, send email to [email protected]. > > > > To unsubscribe from this group, send email to > > > [email protected]<heroku%[email protected]> > > > . > > > > For more options, visit this group at > > >http://groups.google.com/group/heroku?hl=en. > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Heroku" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<heroku%[email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
