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
Yes! that last rugby reference was a typo;)
Mike O. 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.
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 O. [email protected]:
–
Posted via http://www.ruby-forum.com/.
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails
–
Michael S. [email protected]
www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium
2006/8/14, Jakob S. [email protected]:
Mike O. 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 8/14/06, Mike O. [email protected] 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 G.
Thinking & Making: IA, UX, and IxD
http://thinkingandmaking.com
[email protected]
On Monday 14 August 2006 14:18, Jakob S. 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
On Aug 14, 2006, at 16:16, Dave S. wrote:
On Monday 14 August 2006 14:18, Jakob S. 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 S. - http://mentalized.net
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:
Peak Obsession for more info.
Muz