# SEO friendly and validation?

**URL:** <https://www.ruby-forum.com/t/seo-friendly-and-validation/52524>\
**Category:** Rails\
**Created:** [January 15, 2006, 8:23pm UTC](https://www.ruby-forum.com/t/seo-friendly-and-validation/52524 "2006-01-15T20:23:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tusla](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c5a1d2/32.png) [@tusla](https://www.ruby-forum.com/u/tusla)\
**Post date:** [January 15, 2006, 8:23pm UTC](https://www.ruby-forum.com/t/seo-friendly-and-validation/52524/1 "2006-01-15T20:23:10Z")

</div>

Hello everyone!

I am new to Ruby on Rails.  
These are my questions:

- is Ruby on Rails SEO friendly?
- can validation result be in another language then english?

thanks!

---

<div class="post-metadata">

**Author:** ![tusla](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c5a1d2/32.png) [@tusla](https://www.ruby-forum.com/u/tusla)\
**Post date:** [January 15, 2006, 8:32pm UTC](https://www.ruby-forum.com/t/seo-friendly-and-validation/52524/2 "2006-01-15T20:32:29Z")

</div>

SÅ?awek Tuleja wrote:

> Hello everyone!
> 
> I am new to Ruby on Rails.  
> These are my questions:
> 
> - is Ruby on Rails SEO friendly?  
> I can’t think of anything in it that isn’t - you can configure the  
> routes to give keywords in urls, but anything else is down to the views.

> - can validation result be in another language then english?  
> Which validation do you mean? The model validation given by scaffolded  
> code? That’s easily changed, as you’ll see if you peruse the code  
> generated by a sctipt/generate scaffold ModelName command. If you’re  
> referring to something else, you’ll have to be a _little_ more  
> specific…

---

<div class="post-metadata">

**Author:** ![tusla](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c5a1d2/32.png) [@tusla](https://www.ruby-forum.com/u/tusla)\
**Post date:** [January 15, 2006, 8:38pm UTC](https://www.ruby-forum.com/t/seo-friendly-and-validation/52524/3 "2006-01-15T20:38:30Z")

</div>

yes and yes : )

---

<div class="post-metadata">

**Author:** ![tusla](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c5a1d2/32.png) [@tusla](https://www.ruby-forum.com/u/tusla)\
**Post date:** [January 16, 2006, 4:03pm UTC](https://www.ruby-forum.com/t/seo-friendly-and-validation/52524/4 "2006-01-16T16:03:40Z")

</div>

I was thinking the other day about SEO and AJAX…

Basically in order for your page to be indexed by a search engine it  
has to be accessible and linked via a url. Because the search engine  
can’t get people to that URL via javascript. It can’t say go here,  
then execute this piece of javascript. (Or at least, I never seen one  
that does). It would be nice if I could organize certain information  
with javascript or full ajax methods, but if a user can’t find that  
information in the first place, then its not helpful.

I just wanted to know other’s thoughts on the issue. Should the site  
have javascript actions for the human user, then under have  
hyperlinks for the search engines? Or should the page have a few  
javascript actions for the user, then on another part of the page have  
html links for the search engines?

[homedepot.com](http://homedepot.com) has a good example of this. If you browse to an item  
there are 3 clickable tabs updated via javascript.

Thanks

---

<div class="post-metadata">

**Author:** ![tusla](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c5a1d2/32.png) [@tusla](https://www.ruby-forum.com/u/tusla)\
**Post date:** [January 16, 2006, 4:06pm UTC](https://www.ruby-forum.com/t/seo-friendly-and-validation/52524/5 "2006-01-16T16:06:43Z")

</div>

On 1/16/06, Joe T. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I just wanted to know other’s thoughts on the issue. Should the site  
> have javascript actions for the human user, then under have  
> hyperlinks for the search engines? Or should the page have a few  
> javascript actions for the user, then on another part of the page have  
> html links for the search engines?
> 
> [homedepot.com](http://homedepot.com) has a good example of this. If you browse to an item  
> there are 3 clickable tabs updated via javascript.
> 
> Thanks

You can specify fallback urls for links and forms. If a remote form  
is posted, it acts like a regular form if javascript is not enabled.  
If a link is clicked, it goes to the url in the href attribute (which  
is # by default when you use link\_to\_function/remote).

Be smart about your ajax and this won’t be an issue.

–  
rick  
[http://techno-weenie.net](http://techno-weenie.net)

---

<div class="post-metadata">

**Author:** ![tusla](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c5a1d2/32.png) [@tusla](https://www.ruby-forum.com/u/tusla)\
**Post date:** [January 16, 2006, 4:07pm UTC](https://www.ruby-forum.com/t/seo-friendly-and-validation/52524/6 "2006-01-16T16:07:08Z")

</div>

Load content = normal links  
Perform actions = ajax links/ajax forms | normal links/normal forms

You should not load text/content with ajax. So ajax tabs are a very bad  
idea. You should just load it in a normal html thing, and then use CSS  
and javascript to create tabs. So you load all the content of all the  
tabs when the user requests the page.

Jules
