Re: Rails seo friendly urls

paul h
Mon, 03 Dec 2012 14:49:33 -0000

On Wednesday, November 28, 2012 10:00:49 AM UTC, jim
wrote:
>
>
>
>
> On Wed, Nov 28, 2012 at 5:49 PM, Ashokkumar Yuvarajan <
> ashok...-tks5Z7IV8F8RmelmmXo44Q@public.gmane.org <javascript:>>
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
>

I think the OP wants to hide the params completely, could he not create a
route that uses POST instead of GET?

Paul


>
> xxxx.com/produce/fresh-georgia-peaches--17/product_details or
>
>
xxxx.com/categories/produce/products/fresh-georgia-peaches--17/product_details
>
>
>>
>> On Wed, Nov 28, 2012 at 2:54 PM, Jordon Bedwell
<envy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org<javascript:>
>> > wrote:
>>
>>> On Wed, Nov 28, 2012 at 3:12 AM, Maddy
<ashok...-tks5Z7IV8F8RmelmmXo44Q@public.gmane.org<javascript:>>
>>> 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
rubyonra...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<javascript:>
>>> .
>>> To unsubscribe from this group, send email to
>>> rubyonrails-ta...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
<javascript:>.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>
>> --
>>
>> *"Attitude is a little thing that makes a big difference"*
>>
>>
>> Thanks & Regards
>> *Ashokkumar.Y*
>> *ROR-Developer
>> **email : ashok...-tks5Z7IV8F8RmelmmXo44Q@public.gmane.org
<javascript:>*
>>
>>
>> *
>> *
>>
>>  --
>> 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
rubyonra...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<javascript:>
>> .
>> To unsubscribe from this group, send email to
>> rubyonrails-ta...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
<javascript:>.
>> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit