Who knows what search engines rank on these days.  Personally I think
the title in the url is good for users, they know what is at the link
before they go there.  Where possible I try to use titles, I dont
think the integer vs text search is all that import.  You should have
an index on the slug field if you're really worried about performance.

The site looks nice, and I didn't see the Memento typo but there is
one in "search this artincle" :)

On Jun 12, 4:07 pm, bingo <[EMAIL PROTECTED]> wrote:
> hi AD,
>
> I thought of doing so, but somehow I am not feeling comfortable with
> finding articles by title. Its much easier and efficient (I believe)
> to find articles by id as they are integers as compared to title which
> will require text search. Is there a way to use some redirect kind of
> facility.
>
> I think it will help to briefly explain the context. Is it true that
> search engines give higher ranking to websites that have more
> meaningful url ? If this is not true than I don't need to worry about.
>
> PS: I am not sure what do you mean by title bar. I looked at the
> webpage title, and tab title and both have right spelling.
>
> Thanks for your suggestion. I hope you can clear my doubts.
>
> Regards,
> bingohttp://findnwrite.com
>
> On Jun 11, 10:21 pm, AD7six <[EMAIL PROTECTED]> wrote:
>
> > On Jun 12, 5:54 am, bingo <[EMAIL PROTECTED]> wrote:
>
> > > hi,
>
> > > I have website that currently uses article id in the url. So my url
> > > looks something likehttp://findnwrite.com/memento/articles/details/2303. 
> > > Here 2303 is
> > > article id.
>
> > > Instead of article id, I would like to use article title in the url so
> > > it is optimized for search engine. But I also don't want to increase
> > > the number of queries in my controller (to determine article id from
> > > title).  Can I use clean url for this purpose. If so, can anyone point
> > > me how to do that. Or if clean url is not a solution, what other way I
> > > can achieve this transformation of url.
>
> > Why consider using clean url?
>
> > how about using $this->Article->findByIdOrTitle($id,$id); No extra
> > queries. and it would work with either the id or the title then.
>
> > hth,
>
> > AD
> > PS Memento is spelt wrong in the title bar.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to