Re: Small question about URL rewriting

2008-10-15 Thread Witold Czaplewski
Hmm...could be. Google shows only one urls [1] Maybe amazon uses other techniques like robots.txt or the meta-tag robots to block the other urls. But i didn't look at it. If you are interested in duplicate content, the google webmaster central blog has some very nice posts [2] [3]. [1] http://ww

Re: Small question about URL rewriting

2008-10-15 Thread Jon Stockdill
Django adds a "slug" field, which is unique, for its urls. Then you look up the content by slug instead of id Its admin interface suggests a slug, which is alterable if it is not unique. On 10/15/08, James Carman <[EMAIL PROTECTED]> wrote: > To be fair, I didn't find that second URL. I hand-

Re: Small question about URL rewriting

2008-10-15 Thread James Carman
To be fair, I didn't find that second URL. I hand-crafted it. So, maybe Amazon doesn't let the search engines find those types of URLs by crawling. Wouldn't that help? On Wed, Oct 15, 2008 at 7:32 AM, Witold Czaplewski <[EMAIL PROTECTED]> wrote: > Btw... > > amazon.com is a very bad example for

Re: Small question about URL rewriting

2008-10-15 Thread Witold Czaplewski
Btw... amazon.com is a very bad example for a search engine friendly site. Duplicate content like the posted urls are more problematic than non-friendly urls. The perfect solution (unfortunately not always possible) is only one friendly or meaningful url for every unique page. Witold Am Wed, 15

Re: Small question about URL rewriting

2008-10-15 Thread Daan van Etten
Now thats *really* friendly :-) On 15 okt 2008, at 13:11, James Carman wrote: Right, I guess that's what I meant by "friendly" too. Friendly to search engines, not just our eyes. On Wed, Oct 15, 2008 at 7:08 AM, Daan van Etten <[EMAIL PROTECTED]> wrote: Keeping keywords in URLs also improves

Re: Small question about URL rewriting

2008-10-15 Thread James Carman
Right, I guess that's what I meant by "friendly" too. Friendly to search engines, not just our eyes. On Wed, Oct 15, 2008 at 7:08 AM, Daan van Etten <[EMAIL PROTECTED]> wrote: > Keeping keywords in URLs also improves search engine rankings. > > Regards, > > Daan > > On 15 okt 2008, at 13:01, Jame

Re: Small question about URL rewriting

2008-10-15 Thread Daan van Etten
Keeping keywords in URLs also improves search engine rankings. Regards, Daan On 15 okt 2008, at 13:01, James Carman wrote: When Amazon.com does something like this, they still use an id on the URL. Check out these two URLs (which are equivalent and happen to be for a book I was suggesting to

Re: Small question about URL rewriting

2008-10-15 Thread James Carman
When Amazon.com does something like this, they still use an id on the URL. Check out these two URLs (which are equivalent and happen to be for a book I was suggesting to someone): http://www.amazon.com/Pragmatic-Version-Control-Using-Subversion/dp/0974514063 http://www.amazon.com/dp/0974514063

Re: Small question about URL rewriting

2008-10-15 Thread Daan van Etten
Hi Hbiloo, I don't know of an existing working solution. A while ago some people where working on this, according to the mailing list: http://mail-archives.apache.org/mod_mbox/wicket-dev/200802.mbox/[EMAIL PROTECTED] You can prefix the article title with the date (as I did on my blog), so

Re: Small question about URL rewriting

2008-10-15 Thread Azzeddine Daddah
Hi Daan, Thanks for your quick response :). It's a really interesting article to read. I don't really want to set the ID's of my product in the URL. I was thinking to do something like this :) : http://stuq.nl/weblog/articles/create-restful-urls-with-wicket

Re: Small question about URL rewriting

2008-10-15 Thread Daan van Etten
Hi Hbiloo, Check out the various UrlCodingStrategies. See http://cwiki.apache.org/WICKET/url-coding-strategies.html I wrote something about RESTful urls here: http://stuq.nl/weblog/2008-06-20/create-restful-urls-with-wicket Regards, Daan On 15 okt 2008, at 11:19, Azzeddine Daddah wrote: