I am a total RoR virgin, and took my first steps this weekend into the Ruby world. A lot of sites I create need to be as SEO friendly as possible, particularly for google. Before I delve any further, can anyone tell me how friendly the dynamic URLs or if there is the usual rewrite mod for rugby? Thanks Mike -- Posted via http://www.ruby-forum.com/.
Yes! that last rugby reference was a typo;) -- Posted via http://www.ruby-forum.com/.
what do you think about urls like http://your.web.here/posts/1 etc. buzzword restful urls is that enough or do you want more? if so, you can create even more custom routes but i dont think you''ll need that... map.resources is just great 2006/8/14, Mike Octigan <mikeo@futuremonkey.com>:> > I am a total RoR virgin, and took my first steps this weekend into the > Ruby world. A lot of sites I create need to be as SEO friendly as > possible, particularly for google. Before I delve any further, can > anyone tell me how friendly the dynamic URLs or if there is the usual > rewrite mod for rugby? > > Thanks > > Mike > > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Michael Siebert <info@siebert-wd.de> www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060814/97cb9d30/attachment.html
Mike Octigan wrote:> I am a total RoR virgin, and took my first steps this weekend into the > Ruby world. A lot of sites I create need to be as SEO friendly as > possible, particularly for google. Before I delve any further, can > anyone tell me how friendly the dynamic URLs or if there is the usual > rewrite mod for rugby?Perfectly friendly. Rails has it''s own mod_rewrite-like thingy called Migrations. And if that''s not enough, you can use whatever rewriting magic your webserver supplies. -- Jakob Skjerning - http://mentalized.net
On 8/14/06, Mike Octigan <mikeo@futuremonkey.com> wrote:> A lot of sites I create need to be as SEO friendly as > possible, particularly for google. Before I delve any further, can > anyone tell me how friendly the dynamic URLs or if there is the usual > rewrite mod for rugby?Ruby on Rails rewrites the URLs for you by default. If you dislike the conventional rewriting that Rails performs, it''s very easy to customize the rewriting to whatever you''d like by editing the routes. -- Austin Govella Thinking & Making: IA, UX, and IxD http://thinkingandmaking.com austin.govella@gmail.com
2006/8/14, Jakob Skjerning <jakob@mentalized.net>:> Mike Octigan wrote: > > I am a total RoR virgin, and took my first steps this weekend into the > > Ruby world. A lot of sites I create need to be as SEO friendly as > > possible, particularly for google. Before I delve any further, can > > anyone tell me how friendly the dynamic URLs or if there is the usual > > rewrite mod for rugby? > > Perfectly friendly. Rails has it''s own mod_rewrite-like thingy called > Migrations.I think you mean Routes. Wijnand
On Monday 14 August 2006 14:18, Jakob Skjerning wrote:> Rails has it''s own mod_rewrite-like thingy called Migrations.Hang on, surely you mean Routes? Migrations are to do with setting up and altering your database schema. Routes: http://wiki.rubyonrails.org/rails/pages/Routes Migrations: http://wiki.rubyonrails.org/rails/pages/UnderstandingMigrations Cheers, ~Dave
Mike, Just a clarification in case you go off researching migrations; they have nothing to do with URL''s. They are for definging changes to your underlying database. The URL magic for Rails is in config/routes.rb. Try: http://manuals.rubyonrails.com/read/chapter/65 for more info. Muz On 14/08/06, Jakob Skjerning <jakob@mentalized.net> wrote:> > Mike Octigan wrote: > > I am a total RoR virgin, and took my first steps this weekend into the > > Ruby world. A lot of sites I create need to be as SEO friendly as > > possible, particularly for google. Before I delve any further, can > > anyone tell me how friendly the dynamic URLs or if there is the usual > > rewrite mod for rugby? > > Perfectly friendly. Rails has it''s own mod_rewrite-like thingy called > Migrations. And if that''s not enough, you can use whatever rewriting > magic your webserver supplies. > > -- > Jakob Skjerning - http://mentalized.net > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060814/1b66793e/attachment.html
On Aug 14, 2006, at 16:16, Dave Silvester wrote:> On Monday 14 August 2006 14:18, Jakob Skjerning wrote: >> Rails has it''s own mod_rewrite-like thingy called Migrations. > > Hang on, surely you mean Routes? > > Migrations are to do with setting up and altering your database > schema.Yeah, my bad, I meant routes of course. -- Jakob Skjerning - http://mentalized.net