Ruby on Rails Wednesday, November 28, 2012




On Wed, Nov 28, 2012 at 5:49 PM, Ashokkumar Yuvarajan <ashokkumar@shriramits.com> wrote:
Yes, am asking how can i optimize this url as a friendly url?? 

i think you need to use nested resources.  I'm assuming that a product belongs to a category so you
can use

 

On Wed, Nov 28, 2012 at 2:54 PM, Jordon Bedwell <envygeeks@gmail.com> wrote:
On Wed, Nov 28, 2012 at 3:12 AM, Maddy <ashokkumar@shriramits.com> wrote:
> http://xxxx.com/product_details?category_id=produce&product_id=fresh-georgia-peaches--17

That is not an SEO unfriendly URL.

> The highlighted (red) things are my params.

http://guides.rubyonrails.org/routing.html

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.



--
"Attitude is a little thing that makes a big difference"

Thanks & Regards
Ashokkumar.Y
ROR-Developer
email : ashokkumar@shriramits.com




--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.com

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment